steamcompmgr: Add workaround for Warframe (230410) launcher's language dialog
This commit is contained in:
parent
27eaf5f926
commit
ff14b6a5dd
1 changed files with 11 additions and 0 deletions
|
@ -158,6 +158,7 @@ struct motif_hints_t
|
|||
unsigned long functions;
|
||||
unsigned long decorations;
|
||||
long input_mode;
|
||||
unsigned long status;
|
||||
};
|
||||
|
||||
struct win {
|
||||
|
@ -2020,6 +2021,16 @@ win_skip_taskbar_and_pager( win *w )
|
|||
static bool
|
||||
win_maybe_a_dropdown( win *w )
|
||||
{
|
||||
// Josh:
|
||||
// Right now we don't get enough info from Wine
|
||||
// about the true nature of windows to distringuish
|
||||
// something like the Fallout 4 Options menu from the
|
||||
// Warframe language dropdown. Until we get more stuff
|
||||
// exposed for that, there is this workaround to let that work.
|
||||
if ( w->appID == 230410 && w->maybe_a_dropdown && w->transientFor && ( w->skipPager || w->skipTaskbar ) )
|
||||
return !win_is_useless( w );
|
||||
|
||||
|
||||
// Josh:
|
||||
// The logic here is as follows. The window will be treated as a dropdown if:
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue