Skip to content

steamcompmgr: Set _NET_ACTIVE_WINDOW when raising X11 windows #2063

Merged
oSoMoN merged 2 commits into
ValveSoftware:masterfrom
navi-desu:net_active_window
Jul 7, 2026
Merged

steamcompmgr: Set _NET_ACTIVE_WINDOW when raising X11 windows #2063
oSoMoN merged 2 commits into
ValveSoftware:masterfrom
navi-desu:net_active_window

Conversation

@navi-desu

Copy link
Copy Markdown

By EWMH, the root window should have _NET_ACTIVE_WINDOW holding the id
of the currently focused window, some applications rely on it when
_NET_ACTIVE_WINDOW is supported to track focus, including wine >= 10.0

Plagman pushed a commit to ValveSoftware/wine that referenced this pull request Jan 19, 2026
…der gamescope.

gamescope does not set the NET_ACTIVE_WINDOW property in the root
window, meaning we can't rely on it to track focus or some games will
keep input focus regardless of what window is on top

gamescope pull request: ValveSoftware/gamescope#2063

CW-Bug-Id: #26217
Comment thread src/steamcompmgr_shared.hpp Outdated
@navi-desu navi-desu force-pushed the net_active_window branch from 358bc97 to 8af52b3 Compare June 22, 2026 21:24
Comment thread src/xwayland_ctx.hpp Outdated
Comment thread src/steamcompmgr.cpp Outdated
navi-desu added 2 commits July 7, 2026 18:21
By EWMH, the root window should have _NET_ACTIVE_WINDOW holding the id
of the currently focused window, some applications rely on it when
_NET_ACTIVE_WINDOW is supported to track focus, including wine >= 10.0
@navi-desu navi-desu force-pushed the net_active_window branch from 8af52b3 to e561747 Compare July 7, 2026 16:24

@oSoMoN oSoMoN left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@oSoMoN oSoMoN merged commit dac83bb into ValveSoftware:master Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants