Use the correct value masks when resizing/moving (#75)

* exwm-floating.el (exwm-floating--do-moveresize): use the correct value
  masks when resizing/moving floating windows.
This commit is contained in:
Steven Allen 2024-08-18 15:01:50 +00:00 committed by GitHub
parent 8c61f7ef2c
commit 3179085c29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -722,14 +722,14 @@ Float resizing is stopped when TYPE is nil."
(make-instance 'xcb:ConfigureWindow (make-instance 'xcb:ConfigureWindow
:window (frame-parameter exwm--floating-frame :window (frame-parameter exwm--floating-frame
'exwm-outer-id) 'exwm-outer-id)
:value-mask value-mask :value-mask resize-value-mask
:width width :width width
:height height))) :height height)))
(when (/= 0 move-value-mask) (when (/= 0 move-value-mask)
(xcb:+request exwm--connection (xcb:+request exwm--connection
(make-instance 'xcb:ConfigureWindow (make-instance 'xcb:ConfigureWindow
:window exwm--id :window exwm--id
:value-mask value-mask :value-mask move-value-mask
:x (+ x exwm-floating-border-width) :x (+ x exwm-floating-border-width)
:y (+ y exwm-floating-border-width))))))) :y (+ y exwm-floating-border-width)))))))
(xcb:flush exwm--connection)))) (xcb:flush exwm--connection))))