diff options
Diffstat (limited to 'Game/Code')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 11 | ||||
-rw-r--r-- | Game/Code/UltraStar.dpr | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index feaaedf1..19607404 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -161,11 +161,18 @@ Begin Begin
// beep;
Case Event.type_ Of
- SDL_QUITEV: begin
+ SDL_ACTIVEEVENT: //workaround for alt-tab bug
+ begin
+ if (Event.active.gain=0) then
+ SDL_SetModState(0);
+ end;
+
+ SDL_QUITEV:
+ begin
Display.Fade := 0;
Display.NextScreenWithCheck := nil;
Display.CheckOK := True;
- end;
+ end;
{ SDL_MOUSEBUTTONDOWN:
With Event.button Do
Begin
diff --git a/Game/Code/UltraStar.dpr b/Game/Code/UltraStar.dpr index b597ff95..ac5eeb89 100644 --- a/Game/Code/UltraStar.dpr +++ b/Game/Code/UltraStar.dpr @@ -124,7 +124,7 @@ uses acinerella in 'lib\acinerella\acinerella.pas';
const
- Version = 'UltraStar Deluxe v1.0.1a Challenge-MOD r7 alpha 2010-02-21';
+ Version = 'UltraStar Deluxe v1.0.1a Challenge-MOD r7 alpha 2010-02-22';
var
WndTitle: string;
|