From 3dba5f156f2670f6226db80281a5879762259154 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Tue, 24 May 2016 12:30:53 +0800 Subject: 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'. --- exwm-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exwm-core.el') 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))) -- cgit 1.4.1