Navigation Menu

Skip to content

Commit

Permalink
atari:gem: Grab window work area also on iconification/deiconification
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Sep 30, 2017
1 parent 5041d51 commit ddd2626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/gem/SDL_gemevents.c
Expand Up @@ -233,6 +233,7 @@ static int do_messages(_THIS, short *message, short latest_msg_id)
0,0);
GEM_refresh_name = SDL_FALSE;
}
wind_get (message[3], WF_WORKXYWH, &GEM_work_x, &GEM_work_y, &GEM_work_w, &GEM_work_h);
break;
case WM_UNICONIFY:
wind_set (message[3],WF_UNICONIFY,message[4],message[5],message[6],message[7]);
Expand All @@ -248,6 +249,7 @@ static int do_messages(_THIS, short *message, short latest_msg_id)
0,0);
GEM_refresh_name = SDL_FALSE;
}
wind_get (message[3], WF_WORKXYWH, &GEM_work_x, &GEM_work_y, &GEM_work_w, &GEM_work_h);
break;
case WM_SIZED:
wind_set (message[3], WF_CURRXYWH, message[4], message[5], message[6], message[7]);
Expand Down

0 comments on commit ddd2626

Please sign in to comment.