about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-manage.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/exwm-manage.el b/exwm-manage.el
index a0a9e05948f6..349157f1ff20 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -392,6 +392,10 @@ manager is shutting down."
                                :window window :parent exwm--root :x 0 :y 0))
             (xcb:+request exwm--connection
                 (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)
         (xcb:flush exwm--connection))
       (let ((kill-buffer-func