https://bugs.winehq.org/show_bug.cgi?id=48368
Bug ID: 48368 Summary: an odd quirk of focus handling while managed by window manager Product: Wine Version: 4.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: galtgendo@o2.pl Distribution: ---
Description is simple, problem - not so much.
Let's take three windows: - first is a random wine app 1 - second is a terminal window used to start random wine app 2 (but not a wine window) - third is random app 2
Now lets place those windows on top of each other in that order so that close button of random app 2 is contained within the second window.
Now, let's press that close button.
What happens: - third window closes (WASD) - second window gets keyboard/visible focus (pretty much as above) - first window doesn't get *visible* focus, but acts as if it had gotten mouse focus (for example if random app 1 has a setting "pause while not focused", it's getting unpaused) ... huh ?
That last part seems quite buggy...