aboutsummaryrefslogtreecommitdiffstats
path: root/XPrompt.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-10-07 18:38:25 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-10-07 18:38:25 +0200
commit92b9d423dbe368ee28fc6c6259b669f23ef3a90b (patch)
treec82b81592c128e58cc7290f13c5c6b20c07883e0 /XPrompt.hs
parent29b1ce3b8f3f64411d8fa9923c6fbecc287aaffc (diff)
downloadXMonadContrib-92b9d423dbe368ee28fc6c6259b669f23ef3a90b.tar.gz
XMonadContrib-92b9d423dbe368ee28fc6c6259b669f23ef3a90b.tar.xz
XMonadContrib-92b9d423dbe368ee28fc6c6259b669f23ef3a90b.zip
Tabbed and XPrompt updated to lates Extras changes
darcs-hash:20071007163825-32816-8ebe1d13dff1ac21304138a19b6ae883a54f71c7.gz
Diffstat (limited to 'XPrompt.hs')
-rw-r--r--XPrompt.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/XPrompt.hs b/XPrompt.hs
index f092fa1..f4debb0 100644
--- a/XPrompt.hs
+++ b/XPrompt.hs
@@ -212,13 +212,12 @@ eventLoop action = do
-- Main event handler
handle :: KeyStroke -> Event -> XP ()
handle k@(ks,_) e@(KeyEvent {ev_event_type = t})
- | t == keyPress && ks == xK_Tab = do
+ | t == keyPress && ks == xK_Tab = do
c <- getCompletions
completionHandle c k e
handle ks (KeyEvent {ev_event_type = t, ev_state = m})
| t == keyPress = keyPressHandle m ks
-handle _ (AnyEvent {ev_event_type = t, ev_window = w})
- | t == expose = do
+handle _ (ExposeEvent {ev_window = w}) = do
st <- get
when (win st == w) updateWindows
eventLoop handle