Skip to content

Commit

Permalink
Attempt Steam Menus fix as per issue 924
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanasius committed Oct 20, 2024
1 parent 6a80c7c commit e126c15
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
fvwm3 (1.1.0+ds-1+miggy2) unstable; urgency=low

* Comment out focus/refocus relating to Motif applications.
This is an attempt to fix Steam menus.

-- Athanasius <[email protected]> Sat, 13 Jul 2024 12:51:44 +0100

fvwm3 (1.1.0+ds-1+miggy) unstable; urgency=low

* New upstream release.
Expand Down
10 changes: 10 additions & 0 deletions fvwm/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,12 @@ void HandleEnterNotify(const evh_args_t *ea)
* focused fvwm window. Motif apps may lose the input focus
* otherwise. But do not try to refresh the focus of
* applications that want to handle it themselves. */
if (DEBUG_GLOBALLY_ACTIVE) {
fprintf(stderr, "Would call focus_force_refresh_focus(fw)\n");
}
#if 0
focus_force_refresh_focus(fw);
#endif
}
else if (sf != fw)
{
Expand All @@ -2422,7 +2427,12 @@ void HandleEnterNotify(const evh_args_t *ea)
Scr.UnknownWinFocused != None && sf != NULL &&
sf == Scr.StolenFocusFvwmWin)
{
if (DEBUG_GLOBALLY_ACTIVE) {
fprintf(stderr, "Would call _refocus_stolen_focus_win(ea)\n");
}
#if 0
_refocus_stolen_focus_win(ea);
#endif
}
/* We get an EnterNotify with mode == UnGrab when fvwm releases the
* grab held during iconification. We have to ignore this, or icon
Expand Down

0 comments on commit e126c15

Please sign in to comment.