steamcompmgr: Use overlay's ctx rather than root ctx
Makes more sense when reading
This commit is contained in:
parent
4eda19aa69
commit
80101e1932
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue