src/events/SDL_mouse.c
changeset 3191 91b335df6fc8
parent 3188 102b7880543a
child 3195 08747e24a50f
--- a/src/events/SDL_mouse.c	Wed Jun 10 13:54:13 2009 +0000
+++ b/src/events/SDL_mouse.c	Wed Jun 10 14:00:21 2009 +0000
@@ -369,6 +369,8 @@
         event.proximity.y = y;
         event.proximity.cursor = mouse->current_end;
         event.proximity.type = type;
+        /* FIXME: is this right? */
+        event.proximity.windowID = mouse->focus;
         posted = (SDL_PushEvent(&event) > 0);
         if (type == SDL_PROXIMITYIN) {
             mouse->proximity = SDL_TRUE;