mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-04 06:01:52 -07:00
remove ServerMode tabs
This commit is contained in:
@@ -164,10 +164,10 @@ serverModeEventHookF key func (ClientMessageEvent {ev_message_type = mt, ev_data
|
|||||||
d <- asks display
|
d <- asks display
|
||||||
atm <- io $ internAtom d key False
|
atm <- io $ internAtom d key False
|
||||||
when (mt == atm && dt /= []) $ do
|
when (mt == atm && dt /= []) $ do
|
||||||
let atom = fromIntegral $ toInteger $ foldr1 (\a b -> a + (b*2^(32::Int))) dt
|
let atom = fromIntegral $ toInteger $ foldr1 (\a b -> a + (b*2^(32::Int))) dt
|
||||||
cmd <- io $ getAtomName d atom
|
cmd <- io $ getAtomName d atom
|
||||||
case cmd of
|
case cmd of
|
||||||
Just command -> func command
|
Just command -> func command
|
||||||
Nothing -> io $ hPutStrLn stderr ("Couldn't retrieve atom " ++ (show atom))
|
Nothing -> io $ hPutStrLn stderr ("Couldn't retrieve atom " ++ (show atom))
|
||||||
return (All True)
|
return (All True)
|
||||||
serverModeEventHookF _ _ _ = return (All True)
|
serverModeEventHookF _ _ _ = return (All True)
|
||||||
|
Reference in New Issue
Block a user