aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2007-06-04 03:39:38 +0200
committerStefan O'Rear <stefanor@cox.net>2007-06-04 03:39:38 +0200
commit912f4f963746b3d30cf13823fe0ed25d4b61daee (patch)
tree87f7c9dfae0cc1597d9151974dccff52f7c45f86 /Main.hs
parent848f4abe7f8ed9fd304e68dac87cf7a30f828f17 (diff)
downloadxmonad-912f4f963746b3d30cf13823fe0ed25d4b61daee.tar.gz
xmonad-912f4f963746b3d30cf13823fe0ed25d4b61daee.tar.xz
xmonad-912f4f963746b3d30cf13823fe0ed25d4b61daee.zip
do not cache atom values within Xmonad, instead let Xlib worry about caching (a documented feature)
darcs-hash:20070604013938-e3110-8dc84f03278c55076a5cf83013974689c4861ffc.gz
Diffstat (limited to '')
-rw-r--r--Main.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Main.hs b/Main.hs
index faaf059..04591ae 100644
--- a/Main.hs
+++ b/Main.hs
@@ -39,8 +39,6 @@ main = do
initcolor c = fst `liftM` allocNamedColor dpy (defaultColormap dpy dflt) c
rootw <- rootWindow dpy dflt
- wmdelt <- internAtom dpy "WM_DELETE_WINDOW" False
- wmprot <- internAtom dpy "WM_PROTOCOLS" False
xinesc <- getScreenInfo dpy
nbc <- initcolor normalBorderColor
fbc <- initcolor focusedBorderColor
@@ -53,8 +51,6 @@ main = do
cf = XConf
{ display = dpy
, theRoot = rootw
- , wmdelete = wmdelt
- , wmprotocols = wmprot
-- fromIntegral needed for X11 versions that use Int instead of CInt.
, normalBorder = nbc
, focusedBorder = fbc