mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
Fixes swm-gaps crashing for negtive values for height (#205)
This commit is contained in:
parent
4613a956ad
commit
4cdfc4aa79
|
|
@ -64,7 +64,7 @@ HEIGHT are subtracted."
|
|||
(>= width (- (frame-width frame) ow)))
|
||||
(setf width (- width ow)))
|
||||
(when (and (< oh height)
|
||||
(>= height (- (frame-height frame) oh)))
|
||||
(>= height (- (stumpwm::frame-display-height (window-group win) frame) oh)))
|
||||
(setf height (- height oh)))
|
||||
|
||||
(setf x (+ x ox)
|
||||
|
|
|
|||
Loading…
Reference in a new issue