From 80101e193219225bc506c0ad80772be80a59bd94 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 10 Jan 2022 23:13:38 +0000 Subject: [PATCH] steamcompmgr: Use overlay's ctx rather than root ctx Makes more sense when reading --- src/steamcompmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 6a41a59..91464a9 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -2205,7 +2205,7 @@ found: if (global_focus.overlayWindow && global_focus.overlayWindow->inputFocusMode) { // If we have an overlay, pick our cursor from there instead. - global_focus.cursor = root_ctx->cursor.get(); + global_focus.cursor = global_focus.overlayWindow->ctx->cursor.get(); global_focus.inputFocusWindow = global_focus.overlayWindow; } else if (global_focus.overrideWindow)