mirror of
https://github.com/xmonad/xmonad.git
synced 2025-09-03 04:03:47 -07:00
do not cache atom values within Xmonad, instead let Xlib worry about caching (a documented feature)
This commit is contained in:
@@ -98,7 +98,8 @@ modifyGap f = do
|
||||
--
|
||||
kill :: X ()
|
||||
kill = withDisplay $ \d -> withFocused $ \w -> do
|
||||
XConf {wmdelete = wmdelt, wmprotocols = wmprot} <- ask
|
||||
wmdelt <- atom_WM_DELETE_WINDOW ; wmprot <- atom_WM_PROTOCOLS
|
||||
|
||||
protocols <- io $ getWMProtocols d w
|
||||
io $ if wmdelt `elem` protocols
|
||||
then allocaXEvent $ \ev -> do
|
||||
|
Reference in New Issue
Block a user