summaryrefslogtreecommitdiff
path: root/src/events/SDL_mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/SDL_mouse.c')
-rw-r--r--src/events/SDL_mouse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
index 478cee3077..7eaddedfe0 100644
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.c
@@ -369,6 +369,7 @@ SDL_SendProximity(int id, int x, int y, int type)
event.proximity.y = y;
event.proximity.cursor = mouse->current_end;
event.proximity.type = type;
+ event.proximity.windowID = mouse->focus;
posted = (SDL_PushEvent(&event) > 0);
if (type == SDL_PROXIMITYIN) {
mouse->proximity = SDL_TRUE;