Commit 04f98ae4 authored by Patrice Mandin's avatar Patrice Mandin

Correctly process top/bottom event messages

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401092
parent 134ad2d7
......@@ -248,6 +248,8 @@ static int do_messages(_THIS, short *message)
break;
case WM_TOPPED:
wind_set(message[3],WF_TOP,message[4],0,0,0);
/* Continue with TOP event processing */
case WM_ONTOP:
SDL_PrivateAppActive(1, SDL_APPINPUTFOCUS);
if (VDI_setpalette) {
VDI_setpalette(this, VDI_curpalette);
......@@ -312,8 +314,9 @@ static int do_messages(_THIS, short *message)
}
break;
case WM_BOTTOMED:
wind_set(message[3],WF_BOTTOM,0,0,0,0);
/* Continue with BOTTOM event processing */
case WM_UNTOPPED:
wind_set(message[3],WF_BOTTOM,message[4],0,0,0);
SDL_PrivateAppActive(0, SDL_APPINPUTFOCUS);
if (VDI_setpalette) {
VDI_setpalette(this, VDI_oldpalette);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment