From dbc06b50ff7f6cac5279b38be8f58706a0e00bb0 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 2 Mar 2018 00:52:03 +0800 Subject: Add initial support for per-application configurations * exwm-core.el (exwm--configurations): New buffer-local variable recording the configurations of an X window. * exwm-manage.el (exwm-manage-configurations): New user option as the per-application configurations. (exwm-manage--get-configurations): New function for fetching the configurations of this X window. (exwm-manage--manage-window): Fetch the configurations and check if the X window should be floating/tiling. --- exwm-core.el | 1 + 1 file changed, 1 insertion(+) (limited to 'exwm-core.el') diff --git a/exwm-core.el b/exwm-core.el index 649ef0420b53..0f48de2a109a 100644 --- a/exwm-core.el +++ b/exwm-core.el @@ -130,6 +130,7 @@ least SECS seconds later." ;; Internal variables (defvar-local exwm--id nil) ;window ID +(defvar-local exwm--configurations nil) ;initial configurations. (defvar-local exwm--frame nil) ;workspace frame (defvar-local exwm--floating-frame nil) ;floating frame (defvar-local exwm--mode-line-format nil) ;save mode-line-format -- cgit 1.4.1