diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-06-03 23:20:55 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-06-03 23:20:55 +0200 |
commit | 2efd0286c28fa10ad32111339a2fad55634c481f (patch) | |
tree | dddac194395b70ff5ba1e2fd3c40c49db746185c | |
parent | 2b260b3524c69b62736f96993b2d746c562dd40b (diff) | |
download | metatile-2efd0286c28fa10ad32111339a2fad55634c481f.tar metatile-2efd0286c28fa10ad32111339a2fad55634c481f.zip |
-Wall police
darcs-hash:20070603212055-a5988-154f62e30303e2ab406201d08318d070a914baa3
-rw-r--r-- | Main.hs | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -183,11 +183,10 @@ handle e@(CrossingEvent {ev_event_type = t}) -- configure a window handle e@(ConfigureRequestEvent {ev_window = w}) = withDisplay $ \dpy -> do - floating <- gets $ M.member w . floating . windowset - rootw <- asks theRoot - wa <- io $ getWindowAttributes dpy w + f <- gets $ M.member w . floating . windowset + wa <- io $ getWindowAttributes dpy w - if floating + if f then do io $ configureWindow dpy w (ev_value_mask e) $ WindowChanges { wc_x = ev_x e , wc_y = ev_y e |