Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALT+TAB not working on Linux #1520

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

ALT+TAB not working on Linux #1520

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments


Copy link

@SDLBugzilla SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2014-06-17 14:44:06 +0000, Tal wrote:

This might be related: even if I call SDL_SetWindowGrab(window, SDL_FALSE), events remain confined to the window. I've checked with SDL_GetWindowGrab(window) that indeed the value has changed, but there seems to be no effect.

Interestingly, if on Linux I cross-compile the same program for Windows, and then run that same program via WINE, ALT+TAB does work. However, I also don't see SDL_SetWindowGrab(window, SDL_FALSE) having any effect there.

Xubuntu 14.04.

On 2014-07-05 08:51:40 +0000, Tal wrote:

With some more experimentation I found out that this bug only occurs if I call SDL_PollEvent.

For example, if I open a window and just do a SDL_Delay, then ALT+TAB will work correctly. But if I have a loop that uses SDL_PollEvent then ALT+TAB stops working.

On 2018-08-06 21:20:19 +0000, Ryan C. Gordon wrote:

Hello, and sorry if you're getting dozens of copies of this message by email.

We are closing out bugs that appear to be abandoned in some form. This can happen for lots of reasons: we couldn't reproduce it, conversation faded out, the bug was noted as fixed in a comment but we forgot to mark it resolved, the report is good but the fix is impractical, we fixed it a long time ago without realizing there was an associated report, etc.

Individually, any of these bugs might have a better resolution (such as WONTFIX or WORKSFORME or INVALID) but we've added a new resolution of ABANDONED to make this easily searchable and make it clear that it's not necessarily unreasonable to revive a given bug report.

So if this bug is still a going concern and you feel it should still be open: please feel free to reopen it! But unless you respond, we'd like to consider these bugs closed, as many of them are several years old and overwhelming our ability to prioritize recent issues.

(please note that hundred of bug reports were sorted through here, so we apologize for any human error. Just reopen the bug in that case!)


@SDLBugzilla SDLBugzilla added abandoned bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant