mirror of
https://github.com/stumpwm/stumpwm.git
synced 2026-09-10 07:26:20 -04:00
Remove duplicate orphaned-frames definition
Remove the defun in tile-group.lisp as this function is first called in head.lisp and thus it makes sense that it resides there.
This commit is contained in:
parent
4edcba55b2
commit
39b882547d
|
|
@ -228,5 +228,6 @@
|
|||
"Returns a list of frames on a screen not associated with any group.
|
||||
These shouldn't exist."
|
||||
(let ((adopted-frames (loop for group in (screen-groups screen)
|
||||
append (group-frames group))))
|
||||
unless (typep group 'float-group)
|
||||
append (group-frames group))))
|
||||
(set-difference (screen-frames screen) adopted-frames)))
|
||||
|
|
|
|||
|
|
@ -490,14 +490,6 @@ T (default) then also focus the frame."
|
|||
(remove-duplicates (mapcar #'(lambda (window) (window-frame window))
|
||||
(list-windows screen))))
|
||||
|
||||
(defun orphaned-frames (screen)
|
||||
"Returns a list of frames on a screen not associated with any group.
|
||||
These shouldn't exist."
|
||||
(let ((adopted-frames (loop for group in (screen-groups screen)
|
||||
unless (typep group 'float-group)
|
||||
append (group-frames group))))
|
||||
(set-difference (screen-frames screen) adopted-frames)))
|
||||
|
||||
(defmethod group-adopt-orphaned-windows ((group tile-group) &optional (screen (current-screen)))
|
||||
"Picks an arbitray frame in the given group and moves
|
||||
any windows in frames without a group thereinto"
|
||||
|
|
|
|||
Loading…
Reference in a new issue