Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
proximity events bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Wilczek committed Aug 6, 2008
1 parent b7354d7 commit d1702b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion include/SDL_events.h
Expand Up @@ -329,8 +329,8 @@ typedef struct SDL_ResizeEvent

typedef struct SDL_ProximityEvent
{
Uint8 which;
Uint8 type;
Uint8 which;
int cursor;
int x;
int y;
Expand Down
1 change: 0 additions & 1 deletion src/events/SDL_mouse.c
Expand Up @@ -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)
Expand Down

0 comments on commit d1702b5

Please sign in to comment.