aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2012-01-02 22:14:04 +0100
committerAdam Vogt <vogt.adam@gmail.com>2012-01-02 22:14:04 +0100
commitdffec12b6a684e9e4eadbd424f07db7e03e0ed69 (patch)
tree057796bad19319e82811ae599597978431a79a76
parentb531fd4c4828fa7df4c2616543b36fc6e617045f (diff)
downloadXMonadContrib-dffec12b6a684e9e4eadbd424f07db7e03e0ed69.tar.gz
XMonadContrib-dffec12b6a684e9e4eadbd424f07db7e03e0ed69.tar.xz
XMonadContrib-dffec12b6a684e9e4eadbd424f07db7e03e0ed69.zip
X.H.EwmhDesktops note that fullscreenEventHook is not included in ewmh
Ignore-this: 92f15fa93877c165158c8fbd24aa2360 Just a documentation fix (nomeata's suggestion at issue 339). darcs-hash:20120102211404-1499c-922918275db160b19aeff5f8ebc935a91ba1a1c3.gz
-rw-r--r--XMonad/Hooks/EwmhDesktops.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs
index e2f4e47..46490ea 100644
--- a/XMonad/Hooks/EwmhDesktops.hs
+++ b/XMonad/Hooks/EwmhDesktops.hs
@@ -43,7 +43,8 @@ import XMonad.Util.WindowProperties (getProp32)
-- > import XMonad
-- > import XMonad.Hooks.EwmhDesktops
-- >
--- > main = xmonad $ ewmh defaultConfig
+-- > main = xmonad $ ewmh defaultConfig{ handleEventHook =
+-- > handleEventHook defaultConfig <+> fullscreenEventHook }
--
-- You may also be interested in 'avoidStruts' from "XMonad.Hooks.ManageDocks".
@@ -160,6 +161,8 @@ handle _ = return ()
-- An event hook to handle applications that wish to fullscreen using the
-- _NET_WM_STATE protocol. This includes users of the gtk_window_fullscreen()
-- function, such as Totem, Evince and OpenOffice.org.
+--
+-- Note this is not included in 'ewmh'.
fullscreenEventHook :: Event -> X All
fullscreenEventHook (ClientMessageEvent _ _ _ dpy win typ (action:dats)) = do
state <- getAtom "_NET_WM_STATE"