From b57de3e23f36756d0ba85a10592dea02561f8b0f Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Thu, 16 Aug 2012 20:08:50 +0200 Subject: New configuration option 'hideOnStart' When set to True the window is initially not mapped, i.e. hidden. It then can be toggled manually (for example using the dbus interface) or automatically (by a plugin) to make it reappear (unhide/reveal). --- src/Window.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Window.hs') diff --git a/src/Window.hs b/src/Window.hs index 0ffa139..9b0c506 100644 --- a/src/Window.hs +++ b/src/Window.hs @@ -41,7 +41,7 @@ createWin d fs c = do win <- newWindow d (defaultScreenOfDisplay d) rootw r o setProperties r c d win srs when (lowerOnStart c) (lowerWindow d win) - mapWindow d win + when (not $ hideOnStart c) $ mapWindow d win return (r,win) -- | Updates the size and position of the window -- cgit v1.2.3