mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 20:51:55 -07:00
raiseWindow when settings focus. The focused window should always be raised, I think
This commit is contained in:
@@ -216,7 +216,8 @@ setFocusX w = withWorkspace $ \ws -> do
|
|||||||
setButtonGrab True otherw
|
setButtonGrab True otherw
|
||||||
io $ setWindowBorder dpy otherw (color_pixel nbc)
|
io $ setWindowBorder dpy otherw (color_pixel nbc)
|
||||||
|
|
||||||
withDisplay $ \d -> io $ setInputFocus d w revertToPointerRoot 0
|
io $ do setInputFocus dpy w revertToPointerRoot 0
|
||||||
|
raiseWindow dpy w
|
||||||
setButtonGrab False w
|
setButtonGrab False w
|
||||||
io $ setWindowBorder dpy w (color_pixel fbc)
|
io $ setWindowBorder dpy w (color_pixel fbc)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user