summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDavid Roundy <droundy@darcs.net>2007-06-10 17:38:36 +0200
committerDavid Roundy <droundy@darcs.net>2007-06-10 17:38:36 +0200
commit242b06df642f135f1b4e849d49a18099cf71d0e9 (patch)
treed95eecbfd982afa8a6d559fefeaee13bfd7f201d /Main.hs
parent2efe3291b8b3db7b2c3c729297760ebd7677a8f4 (diff)
downloadmetatile-242b06df642f135f1b4e849d49a18099cf71d0e9.tar
metatile-242b06df642f135f1b4e849d49a18099cf71d0e9.zip
a few modifications to event-sending to make Tabbed layout work.
darcs-hash:20070610153836-72aca-75025ca798e1b8c2c5d9f95257aef2bca0803749
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Main.hs b/Main.hs
index c17e741..8a475cb 100644
--- a/Main.hs
+++ b/Main.hs
@@ -186,6 +186,7 @@ handle e@(ButtonEvent {ev_window = w,ev_event_type = t,ev_button = b })
else focus w
-- If it's the root window, then it's something we
-- grabbed in grabButtons. Otherwise, it's click-to-focus.
+ sendMessage e -- Always send button events.
-- entered a normal window, makes this focused.
handle e@(CrossingEvent {ev_window = w, ev_event_type = t})
@@ -225,5 +226,3 @@ handle e@(ConfigureRequestEvent {ev_window = w}) = withDisplay $ \dpy -> do
handle (ConfigureEvent {ev_window = w}) = whenX (isRoot w) rescreen
handle e = sendMessage e -- trace (eventName e) -- ignoring
-
-instance Message Event