From ff14b6a5dd0bd09a665b609e6f47f76be7607816 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 9 May 2022 01:11:55 +0000 Subject: [PATCH] steamcompmgr: Add workaround for Warframe (230410) launcher's language dialog --- src/steamcompmgr.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 13d3b3c..c0ba2f8 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -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: //