From 6cbf000ab407abde66f4775f23f804acca69feb2 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 21 Jun 2010 12:21:04 +0200 Subject: [PATCH] xmonad.hs: Fix for Java programs to recognize XMonad. --- xmonad.hs | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2