mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-30 19:51:52 -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
|
||||
|
||||
-- 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
|
||||
-- raiseWindow dpy w
|
||||
|
||||
|
Reference in New Issue
Block a user