-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warp pointer if focus window on another monitor (#839)
Fixes a related issue partly described in #837. Note that in Gnome 45+, PaperWM `alt`+`tab` does indeed switch through all windows across spaces and monitors (by default). However, an issue does occur that if we switch to (and focus) a window on another monitor via `alt`+`tab` etc., when we move the mouse focus will be pulled to the monitor that the mouse is on. This PR fixes this by warping the mouse pointer to the new monitor if needed (along with a mouse pointer ripple effect). This PR also now links the behaviour for showing `all` windows or `only windows from current space` in PaperWM to the Gnome Multitasking setting: ![image](https://github.com/paperwm/PaperWM/assets/30424662/b49736a5-a105-4534-a98b-2300f5a399e0)
- Loading branch information
Showing
4 changed files
with
47 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters