mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-15 03:55:45 -07:00
Remove inaccurate warnings about 'hide'
This commit is contained in:
@@ -140,9 +140,6 @@ setWMState w v = withDisplay $ \dpy -> do
|
|||||||
io $ changeProperty32 dpy w a a propModeReplace [fromIntegral v, fromIntegral none]
|
io $ changeProperty32 dpy w a a propModeReplace [fromIntegral v, fromIntegral none]
|
||||||
|
|
||||||
-- | hide. Hide a window by unmapping it.
|
-- | hide. Hide a window by unmapping it.
|
||||||
--
|
|
||||||
-- If you call this on a window that is marked as visible, very bad things will
|
|
||||||
-- happen (currently unmanaging, but don't count on it).
|
|
||||||
hide :: Window -> X ()
|
hide :: Window -> X ()
|
||||||
hide w = withDisplay $ \d -> do
|
hide w = withDisplay $ \d -> do
|
||||||
io $ unmapWindow d w
|
io $ unmapWindow d w
|
||||||
|
Reference in New Issue
Block a user