aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/SetWMName.hs
diff options
context:
space:
mode:
authorlithis <xmonad@selg.hethrael.org>2008-05-17 00:10:11 +0200
committerlithis <xmonad@selg.hethrael.org>2008-05-17 00:10:11 +0200
commit93871fdcbe12fcbca40efac9451b62365f4830b1 (patch)
tree29143be9de97a8742814556e3f633ea5e92d5950 /XMonad/Hooks/SetWMName.hs
parent82eb5e3e097f9d151610f61e9ec4dd0ea4c283d5 (diff)
downloadXMonadContrib-93871fdcbe12fcbca40efac9451b62365f4830b1.tar.gz
XMonadContrib-93871fdcbe12fcbca40efac9451b62365f4830b1.tar.xz
XMonadContrib-93871fdcbe12fcbca40efac9451b62365f4830b1.zip
XMonad.Hooks.SetWMName: Update documentation to reflect the addition of startupHook.
darcs-hash:20080516221011-1c3cf-e8c2e31276c94db1e89b478e5b1fa280927093f4.gz
Diffstat (limited to 'XMonad/Hooks/SetWMName.hs')
-rw-r--r--XMonad/Hooks/SetWMName.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/XMonad/Hooks/SetWMName.hs b/XMonad/Hooks/SetWMName.hs
index 8700f8f..86e8327 100644
--- a/XMonad/Hooks/SetWMName.hs
+++ b/XMonad/Hooks/SetWMName.hs
@@ -14,13 +14,13 @@
-- May be useful for making Java GUI programs work, just set WM name to "LG3D"
-- and use Java 1.6u1 (1.6.0_01-ea-b03 works for me) or later.
--
--- Remember that you need to call the setWMName action yourself (at least until
--- we have startup hooks). E.g., you can bind it in your Config.hs:
+-- To your @~\/.xmonad\/xmonad.hs@ file, add the following line:
--
--- > ((modMask x .|. controlMask .|. shiftMask, xK_z), setWMName "LG3D") -- @@ Java hack
+-- > import XMonad.Hooks.SetWMName
--
--- and press the key combination before running the Java programs (you only
--- need to do it once per XMonad execution)
+-- Then edit your @startupHook@:
+--
+-- > startupHook = setWMName "LG3D"
--
-- For details on the problems with running Java GUI programs in non-reparenting
-- WMs, see <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775> and
@@ -31,8 +31,8 @@
-- set to 0, while for other WMs the insets are \"guessed\" and the algorithm
-- fails miserably by guessing absolutely bogus values.
--
--- For detailed instructions on editing your key bindings, see
--- "XMonad.Doc.Extending#Editing_key_bindings".
+-- For detailed instructions on editing your hooks, see
+-- "XMonad.Doc.Extending#4".
-----------------------------------------------------------------------------
module XMonad.Hooks.SetWMName (