openbsd-ports/x11/xmobar/patches/patch-src_Window_hs
dcoppa 0cd24ad65c Update to xmobar-0.16
Including a patch by Alexander Polakov

OK kili@
2013-01-25 08:37:16 +00:00

17 lines
652 B
Plaintext

$OpenBSD: patch-src_Window_hs,v 1.1 2013/01/25 08:37:17 dcoppa Exp $
Bugfix: xmobar was not on top of other windows if started before
xmonad (upstream git commit 8c208d5e5ef970f465c4ee903367de8a8b41879a)
--- src/Window.hs.orig Thu Jan 24 14:39:42 2013
+++ src/Window.hs Thu Jan 24 14:40:21 2013
@@ -41,7 +41,7 @@ createWin d fs c = do
win <- newWindow d (defaultScreenOfDisplay d) rootw r o
setProperties r c d win srs
when (lowerOnStart c) (lowerWindow d win)
- when (not $ hideOnStart c) $ mapWindow d win
+ when (not $ hideOnStart c) $ showWindow r c d win
return (r,win)
-- | Updates the size and position of the window