mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
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:
parent
8c61f7ef2c
commit
3179085c29
1 changed files with 2 additions and 2 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Reference in a new issue