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

No speedup when alt-tabbing in linux/sdl #498

Closed
DorpsGek opened this issue Jan 1, 2007 · 2 comments
Closed

No speedup when alt-tabbing in linux/sdl #498

DorpsGek opened this issue Jan 1, 2007 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jan 1, 2007

ArmEagle opened the ticket and wrote:

On Linux (0.5.0-RC1), when pressing alt-tab, the game would often speedup. I checked the win32_v.c and sdl_v.c files. The first does prevent this, but in the second no check for mod keys is done. So I added this

Diff in text, since it's small, and I don't know what/how files/dirs are normally compared.
video/sdl_v.c:

443c443,444
< if (keys[SDLK_TAB])
---

            /* Speed up using TAB, but disable for ALT+TAB of course */
            if (keys[SDLK_TAB] && !(mod & KMOD_ALT))

Reported version: trunk
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/498
@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2007

ArmEagle wrote:

Ah, I just noticed 0.5.0-RC2 was already out. I checked the code and behavior still seems to be the same.


This comment was imported from FlySpray: https://bugs.openttd.org/task/498#comment765

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2007

Rubidium closed the ticket.

Reason for closing: Fixed

In r7727.


This comment was imported from FlySpray: https://bugs.openttd.org/task/498

@DorpsGek DorpsGek closed this as completed Jan 1, 2007
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant