mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07: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
|
||||
:window (frame-parameter exwm--floating-frame
|
||||
'exwm-outer-id)
|
||||
:value-mask value-mask
|
||||
:value-mask resize-value-mask
|
||||
:width width
|
||||
:height height)))
|
||||
(when (/= 0 move-value-mask)
|
||||
(xcb:+request exwm--connection
|
||||
(make-instance 'xcb:ConfigureWindow
|
||||
:window exwm--id
|
||||
:value-mask value-mask
|
||||
:value-mask move-value-mask
|
||||
:x (+ x exwm-floating-border-width)
|
||||
:y (+ y exwm-floating-border-width)))))))
|
||||
(xcb:flush exwm--connection))))
|
||||
|
|
Loading…
Reference in a new issue