Skip to content

Commit

Permalink
atari:gem: Remove also this query when generating mouse motion events
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Sep 30, 2017
1 parent 38ac2f8 commit 3f7719f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/video/gem/SDL_gemevents.c
Expand Up @@ -362,7 +362,10 @@ static void do_mouse_motion(_THIS, short mx, short my)
w2 = VDI_w;
h2 = VDI_h;
if ((!GEM_fullscreen) && (GEM_handle>=0)) {
wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2);
x2 = GEM_work_x;
y2 = GEM_work_y;
w2 = GEM_work_w;
h2 = GEM_work_h;
}

if ((prevmx!=mx) || (prevmy!=my)) {
Expand Down

0 comments on commit 3f7719f

Please sign in to comment.