diff options
-rw-r--r-- | Game/Code/Classes/UMain.pas | 11 | ||||
-rw-r--r-- | Game/Code/UltraStar.dpr | 2 | ||||
-rw-r--r-- | Game/Output/acinerella.dll | bin | 6393363 -> 6469651 bytes |
3 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;
diff --git a/Game/Output/acinerella.dll b/Game/Output/acinerella.dll Binary files differindex 4a376225..1ce3479e 100644 --- a/Game/Output/acinerella.dll +++ b/Game/Output/acinerella.dll |