mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-06 06:51:55 -07:00
CopyWindow.hs: -Wall police.
This commit is contained in:
@@ -73,7 +73,7 @@ copy n = windows copy'
|
|||||||
--
|
--
|
||||||
kill1 :: X ()
|
kill1 :: X ()
|
||||||
kill1 = do ss <- gets windowset
|
kill1 = do ss <- gets windowset
|
||||||
whenJust (peek ss) $ \w -> if member w $ delete' w ss
|
whenJust (peek ss) $ \w -> if member w $ delete'' w ss
|
||||||
then windows $ delete' w
|
then windows $ delete'' w
|
||||||
else kill
|
else kill
|
||||||
where delete' w = sink w . modify Nothing (filter (/= w))
|
where delete'' w = sink w . modify Nothing (filter (/= w))
|
||||||
|
Reference in New Issue
Block a user