mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-25 07:46:01 +00:00
fix(gamescope): taps reach dialogs and windows away from the screen origin (#2280)
This commit is contained in:
1 parent
74c0f2127a
commit
2e70b8ed73
2 files changed
+38
-16
No files matched your search
@@ -327,6 +327,12 @@ each frame's motion to the X pointer itself until the game stops warping. Absolu
|
||||
motion, as a real compositor does, so XInput2 raw motion reaches games that read only that. A touch moves the
|
||||
pointer without relative motion, so tapping the screen does not turn the camera.
|
||||
|
||||
The X pointer is read in root coordinates and the seat position is local to the focused window, so the X pointer
|
||||
is moved into the focused window's coordinates before the two are compared. Without that, any window not at the
|
||||
root origin (a dialog, or a windowed program) looked like a game warping the pointer, following started, and the
|
||||
pointer was pinned to the window's corner. A touch always lands where the finger is and ends following, so taps
|
||||
work in every window.
|
||||
|
||||
## 0132 sdl, steamcompmgr: follow a game's window mode
|
||||
With `--follow-game-window-mode`, the outer window of a nested SDL gamescope follows the focused game window. A window
|
||||
asking for `_NET_WM_STATE_FULLSCREEN`, or a Steam game covering the X screen without minimise or maximise functions or
|
||||
|
||||
Reference in new issue
Block a user