steamcompmgr: don't focus random windows
If we don't have -e, everything will have a fake gameID to get focus.
This commit is contained in:
parent
b3b8d60c00
commit
5e7dcd30f8
1 changed files with 1 additions and 0 deletions
|
@ -1627,6 +1627,7 @@ determine_and_apply_focus(Display *dpy, MouseCursor *cursor)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( w->a.map_state == IsViewable && w->a.c_class == InputOutput && w->isOverlay == false &&
|
if ( w->a.map_state == IsViewable && w->a.c_class == InputOutput && w->isOverlay == false &&
|
||||||
|
( win_has_game_id( w ) || w->isSteam || w->isSteamStreamingClient ) &&
|
||||||
(w->opacity > TRANSLUCENT || w->isSteamStreamingClient == true ) )
|
(w->opacity > TRANSLUCENT || w->isSteamStreamingClient == true ) )
|
||||||
{
|
{
|
||||||
vecPossibleFocusWindows.push_back( w );
|
vecPossibleFocusWindows.push_back( w );
|
||||||
|
|
Loading…
Reference in a new issue