From: Simon Ruderich Date: Mon, 21 Jun 2010 10:21:04 +0000 (+0200) Subject: xmonad.hs: Fix for Java programs to recognize XMonad. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6cbf000ab407abde66f4775f23f804acca69feb2;p=config%2Fdotfiles.git xmonad.hs: Fix for Java programs to recognize XMonad. --- diff --git a/xmonad.hs b/xmonad.hs index 1a0b498..48d30bb 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -16,6 +16,8 @@ import XMonad.Layout.NoBorders import XMonad.Hooks.ManageHelpers -- Necessary for `additionalKeys`. import XMonad.Util.EZConfig +-- Necessary for setWMName. +import XMonad.Hooks.SetWMName -- Prevent new windows from spawning in the master pane. Taken from @@ -111,6 +113,8 @@ main = xmonad $ defaultConfig , manageHook = myManageHook -- Use unicode rxvt as my terminal. , terminal = "urxvt" + -- Necessary for java so it recognizes XMonad as tiling window manager. + , startupHook = setWMName "LG3D" } `additionalKeys` myKeys