summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-01-18 04:22:28 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-01-18 04:22:28 +0100
commit767e9cbd95767542f366e57fe8a6b6b06a720ada (patch)
tree935fc658cecbfc89bdb0fc9860de8b2a14cf588f /XMonad/Main.hs
parent60fca32854a646dfbce8156a1789bce773fccfa4 (diff)
downloadmetatile-767e9cbd95767542f366e57fe8a6b6b06a720ada.tar
metatile-767e9cbd95767542f366e57fe8a6b6b06a720ada.zip
Simplify duplicate/cloned screen logic
darcs-hash:20080118032228-a5988-04035889f9b0a1230b09a9334ea6341783e16052
Diffstat (limited to 'XMonad/Main.hs')
-rw-r--r--XMonad/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/XMonad/Main.hs b/XMonad/Main.hs
index 94a8a22..2c22792 100644
--- a/XMonad/Main.hs
+++ b/XMonad/Main.hs
@@ -26,7 +26,6 @@ import System.Environment (getArgs)
import Graphics.X11.Xlib hiding (refreshKeyboardMapping)
import Graphics.X11.Xlib.Extras
-import Graphics.X11.Xinerama (getScreenInfo)
import XMonad.Core
import XMonad.StackSet (new, floating, member)
@@ -46,7 +45,7 @@ xmonad initxmc = do
let dflt = defaultScreen dpy
rootw <- rootWindow dpy dflt
- xinesc <- getScreenInfo dpy
+ xinesc <- getCleanedScreenInfo dpy
nbc <- initColor dpy $ normalBorderColor xmc
fbc <- initColor dpy $ focusedBorderColor xmc
hSetBuffering stdout NoBuffering