mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 12:11:53 -07:00
Regression: ungrab buttons on *non* root windows
This commit is contained in:
@@ -317,7 +317,7 @@ setFocusX w = withWindowSet $ \ws -> do
|
|||||||
setButtonGrab True otherw
|
setButtonGrab True otherw
|
||||||
|
|
||||||
-- If we ungrab buttons on the root window, we lose our mouse bindings.
|
-- If we ungrab buttons on the root window, we lose our mouse bindings.
|
||||||
whenX (isRoot w) $ setButtonGrab False w
|
whenX (not <$> isRoot w) $ setButtonGrab False w
|
||||||
io $ do setInputFocus dpy w revertToPointerRoot 0
|
io $ do setInputFocus dpy w revertToPointerRoot 0
|
||||||
-- raiseWindow dpy w
|
-- raiseWindow dpy w
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user