From dffec12b6a684e9e4eadbd424f07db7e03e0ed69 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Mon, 2 Jan 2012 22:14:04 +0100 Subject: 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 --- XMonad/Hooks/EwmhDesktops.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3