about summary refs log tree commit diff
path: root/exwm-core.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-05-24T04·30+0800
committerChris Feng <chris.w.feng@gmail.com>2016-05-24T04·30+0800
commit3dba5f156f2670f6226db80281a5879762259154 (patch)
tree0217cc3ac6e8c1afd90e0663566174ecca43bd88 /exwm-core.el
parent1b2ae3749e98b83f94cc19cef8830ce823c63367 (diff)
Manage a certain type of undecorated X windows
* exwm-core.el (exwm--mwm-hints): Removed.
(exwm--mwm-hints-decorations): New buffer-local variable for
indicating whether the X window should have decorations.
* exwm-floating.el (exwm-floating--set-floating): Hide the mode-line
of undecorated floating X windows by default.
* exwm-manage.el (exwm-manage--update-mwm-hints):
Set exwm--mwm-hints-decorations;
(exwm-manage--manage-window): Manage an undecorated X window if its
input model is not 'No Input' or 'Globally Active'.
Diffstat (limited to 'exwm-core.el')
-rw-r--r--exwm-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-core.el b/exwm-core.el
index e202d4ee47b7..9eb6b62f66a1 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -116,7 +116,7 @@
 (defvar-local exwm--hints-input nil)
 (defvar-local exwm--hints-urgency nil)
 ;; _MOTIF_WM_HINTS
-(defvar-local exwm--mwm-hints nil)
+(defvar-local exwm--mwm-hints-decorations t)
 
 (defvar exwm-mode-map
   (let ((map (make-sparse-keymap)))