steamcompmgr: streaming_client is kind of like an overlay

but not really
This commit is contained in:
Pierre-Loup A. Griffais 2021-05-08 01:47:50 -07:00
parent fe4501c633
commit 756b3a6afc

View file

@ -1415,7 +1415,8 @@ determine_and_apply_focus (Display *dpy, MouseCursor *cursor)
continue;
}
if ( w->a.map_state == IsViewable && w->a.c_class == InputOutput && w->isOverlay == False && w->opacity > TRANSLUCENT )
if ( w->a.map_state == IsViewable && w->a.c_class == InputOutput && w->isOverlay == False &&
(w->opacity > TRANSLUCENT || w->isSteamStreamingClient == True ) )
{
vecPossibleFocusWindows.push_back( w );
}