steamcompmgr: Tie break by map sequence before damage sequence
This commit is contained in:
parent
e4a517b4b8
commit
c7962c3e6b
1 changed files with 3 additions and 0 deletions
|
@ -2029,6 +2029,9 @@ is_focus_priority_greater( win *a, win *b )
|
|||
!a->transientFor != !b->transientFor )
|
||||
return !a->transientFor;
|
||||
|
||||
if ( win_has_game_id( a ) && a->map_sequence != b->map_sequence )
|
||||
return a->map_sequence > b->map_sequence;
|
||||
|
||||
// The damage sequences are only relevant for game windows.
|
||||
if ( win_has_game_id( a ) && a->damage_sequence != b->damage_sequence )
|
||||
return a->damage_sequence > b->damage_sequence;
|
||||
|
|
Loading…
Reference in a new issue