mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] use SDL_WaitEvent
This commit is contained in:
committed by
Martin Fleisz
parent
3e44efc841
commit
324e8c7813
@@ -103,7 +103,7 @@ const char* sdl_event_type_str(Uint32 type)
|
||||
EV_CASE_STR(SDL_USEREVENT_POINTER_DEFAULT);
|
||||
EV_CASE_STR(SDL_USEREVENT_POINTER_POSITION);
|
||||
EV_CASE_STR(SDL_USEREVENT_POINTER_SET);
|
||||
|
||||
EV_CASE_STR(SDL_USEREVENT_QUIT);
|
||||
EV_CASE_STR(SDL_LASTEVENT);
|
||||
default:
|
||||
return "SDL_UNKNOWNEVENT";
|
||||
@@ -163,6 +163,7 @@ BOOL sdl_push_user_event(Uint32 type, ...)
|
||||
event->data1 = va_arg(ap, void*);
|
||||
event->code = va_arg(ap, int);
|
||||
break;
|
||||
case SDL_USEREVENT_QUIT:
|
||||
case SDL_USEREVENT_POINTER_NULL:
|
||||
case SDL_USEREVENT_POINTER_DEFAULT:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user