mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-30 16:07:59 +01:00
Fix issues with destroying full screen X windows
* exwm-manage.el (exwm-manage--unmanage-window): Set the Emacs window of an full screen X window as non-dedicated before killing its buffer so as not to cause other side effects.
This commit is contained in:
parent
7e5750392c
commit
13a14579cc
1 changed files with 4 additions and 0 deletions
|
@ -392,6 +392,10 @@ manager is shutting down."
|
||||||
:window window :parent exwm--root :x 0 :y 0))
|
:window window :parent exwm--root :x 0 :y 0))
|
||||||
(xcb:+request exwm--connection
|
(xcb:+request exwm--connection
|
||||||
(make-instance 'xcb:DestroyWindow :window container))))
|
(make-instance 'xcb:DestroyWindow :window container))))
|
||||||
|
(when (exwm-layout--fullscreen-p)
|
||||||
|
(let ((window (get-buffer-window)))
|
||||||
|
(when window
|
||||||
|
(set-window-dedicated-p window nil))))
|
||||||
(exwm-manage--set-client-list)
|
(exwm-manage--set-client-list)
|
||||||
(xcb:flush exwm--connection))
|
(xcb:flush exwm--connection))
|
||||||
(let ((kill-buffer-func
|
(let ((kill-buffer-func
|
||||||
|
|
Loading…
Reference in a new issue