-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp | ||
index 05337c1..aeb3a39 100644 | ||
index 05337c1..d6d883b 100644 | ||
--- a/src/steamcompmgr.cpp | ||
+++ b/src/steamcompmgr.cpp | ||
@@ -4949,8 +4949,10 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev) | ||
@@ -4949,7 +4949,7 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev) | ||
focusDirty = true; | ||
} | ||
} | ||
- if (ev->atom == ctx->atoms.steamTouchClickModeAtom ) | ||
+ if (ev->atom == ctx->atoms.steamTouchClickModeAtom && !env_to_bool(getenv("GAMESCOPE_DISABLE_TOUCH_CLICK_MODE"))) | ||
{ | ||
+ // When steam changes this to 1 stuff breaks, make it not shoot itself | ||
+ // in the foot | ||
gamescope::cv_touch_click_mode = (gamescope::TouchClickMode) get_prop(ctx, ctx->root, ctx->atoms.steamTouchClickModeAtom, 0u ); | ||
} | ||
if (ev->atom == ctx->atoms.steamStreamingClientAtom) |
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