src/video/gem/SDL_gemevents.c
branchSDL-1.2
changeset 11558 560392acace0
parent 11557 9f94ac59f51c
child 11559 a330adcd0490
     1.1 --- a/src/video/gem/SDL_gemevents.c	Sat Sep 30 20:59:18 2017 +0200
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Sat Sep 30 21:33:36 2017 +0200
     1.3 @@ -362,7 +362,10 @@
     1.4  	w2 = VDI_w;
     1.5  	h2 = VDI_h;
     1.6  	if ((!GEM_fullscreen) && (GEM_handle>=0)) {
     1.7 -		wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2);
     1.8 +		x2 = GEM_work_x;
     1.9 +		y2 = GEM_work_y;
    1.10 +		w2 = GEM_work_w;
    1.11 +		h2 = GEM_work_h;
    1.12  	}
    1.13  
    1.14  	if ((prevmx!=mx) || (prevmy!=my)) {