Skip to content
Permalink
Browse files

atari💎 Grab window work area also on iconification/deiconification

  • Loading branch information
pmandin committed Sep 30, 2017
1 parent 5041d51 commit ddd262632460d6df419728e766857d4e1dbc6d45
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/video/gem/SDL_gemevents.c
@@ -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]);
@@ -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]);

0 comments on commit ddd2626

Please sign in to comment.