Skip to content
Permalink
Browse files

atari💎 Remove also this query when generating mouse motion events

  • Loading branch information
pmandin committed Sep 30, 2017
1 parent 38ac2f8 commit 3f7719f3dd624f4221be75ecc61a299f0ebb475a
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/video/gem/SDL_gemevents.c
@@ -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)) {

0 comments on commit 3f7719f

Please sign in to comment.