mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-06 07:01:52 -07:00
Merge pull request #344 from slotThe/dont-print-getWindowAttributes
X.Operations: Silently catch in setWindowBorderWithFallback
This commit is contained in:
@@ -254,8 +254,7 @@ setWindowBorderWithFallback dpy w color basic = io $
|
|||||||
setWindowBorder dpy w pixel
|
setWindowBorder dpy w pixel
|
||||||
where
|
where
|
||||||
fallback :: C.SomeException -> IO ()
|
fallback :: C.SomeException -> IO ()
|
||||||
fallback e = do hPrint stderr e >> hFlush stderr
|
fallback _ = setWindowBorder dpy w basic
|
||||||
setWindowBorder dpy w basic
|
|
||||||
|
|
||||||
-- | Hide a window by unmapping it and setting Iconified.
|
-- | Hide a window by unmapping it and setting Iconified.
|
||||||
hide :: Window -> X ()
|
hide :: Window -> X ()
|
||||||
|
Reference in New Issue
Block a user