diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-10-07 09:20:18 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-10-07 09:20:18 +0200 |
commit | 1a21281b26e3638b5cce74eb5f07c0b8a690ba2a (patch) | |
tree | aca6a340fa44ae4a3b63438e88bb50cc9fbfc44d | |
parent | 54d0eefaae568357419f046da4c401eefc4bdbbd (diff) | |
download | XMonadContrib-1a21281b26e3638b5cce74eb5f07c0b8a690ba2a.tar.gz XMonadContrib-1a21281b26e3638b5cce74eb5f07c0b8a690ba2a.tar.xz XMonadContrib-1a21281b26e3638b5cce74eb5f07c0b8a690ba2a.zip |
Tabbed: updated to the last (unannounced) API changes
darcs-hash:20071007072018-32816-e982babac787e3d32c24cb407475fb8c56e89f9e.gz
-rw-r--r-- | Tabbed.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -150,8 +150,12 @@ handleEvent ishr conf (TabState {tabsWindows = tws, scr = screen, fo -- expose | thisw `elem` (map fst tws) && t == expose = do updateTab ishr conf fs width (thisw, fromJust $ lookup thisw tws) + where + width = rect_width screen`div` fromIntegral (length tws) +handleEvent ishr conf (TabState {tabsWindows = tws, scr = screen, fontS = fs }) + (PropertyEvent {ev_window = thisw }) -- propertyNotify - | thisw `elem` (map snd tws) && t == propertyNotify = do + | thisw `elem` (map snd tws) = do let tabwin = (fst $ fromJust $ find ((== thisw) . snd) tws, thisw) updateTab ishr conf fs width tabwin where |