mirror of
https://github.com/stumpwm/stumpwm.git
synced 2026-09-10 07:26:20 -04:00
Fix frame-head to work with iresize
setup-iresize can cause frame-head to be called with a head-frame argument.
This commit is contained in:
parent
d2bc558e80
commit
488200e9a0
|
|
@ -5,4 +5,3 @@ issue-0993
|
|||
issue-1004
|
||||
issue-1005
|
||||
issue-1006
|
||||
test-basic-iresize
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@
|
|||
(+ (frame-y frame) (frame-height frame))))
|
||||
|
||||
(defmethod frame-head ((group tile-group) frame)
|
||||
(find-if (lambda (head) (find frame (flatten (tile-group-frame-head group head))))
|
||||
(find-if (lambda (head) (or (eq head frame) (find frame (flatten (tile-group-frame-head group head)))))
|
||||
(group-heads group)))
|
||||
|
||||
(defun project-x (head x)
|
||||
|
|
|
|||
Loading…
Reference in a new issue