Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

proximity events bug fix

  • Loading branch information
Szymon Wilczek committed Aug 6, 2008
1 parent b7354d7 commit d1702b550cbf3f8a026f047e2560f5b00fc6b255
Showing with 1 addition and 2 deletions.
  1. +1 −1 include/SDL_events.h
  2. +0 −1 src/events/SDL_mouse.c
@@ -329,8 +329,8 @@ typedef struct SDL_ResizeEvent

typedef struct SDL_ProximityEvent
{
Uint8 which;
Uint8 type;
Uint8 which;
int cursor;
int x;
int y;
@@ -349,7 +349,6 @@ SDL_SendProximity(int id, int x, int y, int type)
event.proximity.x=x;
event.proximity.y=y;
event.proximity.cursor=mouse->current_end;
event.type=type;
event.proximity.type=type;
posted = (SDL_PushEvent(&event) > 0);
if(type==SDL_PROXIMITYIN)

0 comments on commit d1702b5

Please sign in to comment.