Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 16551e78563a5b49ff9624ee1c8b8101 > files > 770

ghc-xmonad-contrib-devel-0.11-1.1.fc18.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>XMonad.Hooks.EwmhDesktops</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_XMonad-Hooks-EwmhDesktops.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad-Hooks-EwmhDesktops.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">xmonad-contrib-0.11: Third party extensions for xmonad</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>unportable</td></tr><tr><th>Stability</th><td>unstable</td></tr><tr><th>Maintainer</th><td>Joachim Breitner &lt;mail@joachim-breitner.de&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">XMonad.Hooks.EwmhDesktops</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Usage
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Makes xmonad use the EWMH hints to tell panel applications about its
 workspaces and the windows therein. It also allows the user to interact
 with xmonad by clicking on panels and window lists.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:ewmh">ewmh</a> ::  <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:XConfig">XConfig</a> a -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:XConfig">XConfig</a> a</li><li class="src short"><a href="#v:ewmhDesktopsStartup">ewmhDesktopsStartup</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:ewmhDesktopsLogHook">ewmhDesktopsLogHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:ewmhDesktopsLogHookCustom">ewmhDesktopsLogHookCustom</a> :: ([<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>]) -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:ewmhDesktopsEventHook">ewmhDesktopsEventHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a></li><li class="src short"><a href="#v:ewmhDesktopsEventHookCustom">ewmhDesktopsEventHookCustom</a> :: ([<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>]) -&gt; <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a></li><li class="src short"><a href="#v:fullscreenEventHook">fullscreenEventHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a></li></ul></div><div id="interface"><h1 id="g:1">Usage
</h1><div class="doc"><p>You can use this module with the following in your <code>~/.xmonad/xmonad.hs</code>:
</p><pre> import XMonad
 import XMonad.Hooks.EwmhDesktops

 main = xmonad $ ewmh defaultConfig{ handleEventHook =
            handleEventHook defaultConfig &lt;+&gt; fullscreenEventHook }
</pre><p>You may also be interested in <code>avoidStruts</code> from <a href="XMonad-Hooks-ManageDocks.html">XMonad.Hooks.ManageDocks</a>.
</p></div><div class="top"><p class="src"><a name="v:ewmh" class="def">ewmh</a> ::  <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:XConfig">XConfig</a> a -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:XConfig">XConfig</a> a<a href="src/XMonad-Hooks-EwmhDesktops.html#ewmh" class="link">Source</a></p><div class="doc"><p>Add EWMH functionality to the given config.  See above for an example.
</p></div></div><div class="top"><p class="src"><a name="v:ewmhDesktopsStartup" class="def">ewmhDesktopsStartup</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsStartup" class="link">Source</a></p><div class="doc"><p>Initializes EwmhDesktops and advertises EWMH support to the X
 server
</p></div></div><div class="top"><p class="src"><a name="v:ewmhDesktopsLogHook" class="def">ewmhDesktopsLogHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsLogHook" class="link">Source</a></p><div class="doc"><p>Notifies pagers and window lists, such as those in the gnome-panel
 of the current state of workspaces and windows.
</p></div></div><div class="top"><p class="src"><a name="v:ewmhDesktopsLogHookCustom" class="def">ewmhDesktopsLogHookCustom</a> :: ([<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>]) -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsLogHookCustom" class="link">Source</a></p><div class="doc"><p>Generalized version of ewmhDesktopsLogHook that allows an arbitrary
 user-specified function to transform the workspace list (post-sorting)
</p></div></div><div class="top"><p class="src"><a name="v:ewmhDesktopsEventHook" class="def">ewmhDesktopsEventHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a><a href="src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsEventHook" class="link">Source</a></p><div class="doc"><p>Intercepts messages from pagers and similar applications and reacts on them.
 Currently supports:
</p><ul><li> _NET_CURRENT_DESKTOP (switching desktops)
</li><li> _NET_WM_DESKTOP (move windows to other desktops)
</li><li> _NET_ACTIVE_WINDOW (activate another window, changing workspace if needed)
</li></ul></div></div><div class="top"><p class="src"><a name="v:ewmhDesktopsEventHookCustom" class="def">ewmhDesktopsEventHookCustom</a> :: ([<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:WindowSpace">WindowSpace</a>]) -&gt; <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a><a href="src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsEventHookCustom" class="link">Source</a></p><div class="doc"><p>Generalized version of ewmhDesktopsEventHook that allows an arbitrary
 user-specified function to transform the workspace list (post-sorting)
</p></div></div><div class="top"><p class="src"><a name="v:fullscreenEventHook" class="def">fullscreenEventHook</a> :: <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Extras.html#t:Event">Event</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:All">All</a><a href="src/XMonad-Hooks-EwmhDesktops.html#fullscreenEventHook" class="link">Source</a></p><div class="doc"><p>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.
</p><p>Note this is not included in <code><a href="XMonad-Hooks-EwmhDesktops.html#v:ewmh">ewmh</a></code>.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>