Mercurial > sdl-ios-xcode
diff src/video/dga/SDL_dgaevents.c @ 1575:3ba88cb7eb1b
Updated dynamic X11 code. See details in Bugzilla #170.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 22 Mar 2006 05:00:59 +0000 |
parents | d910939febfa |
children | 782fd950bd46 c121d94672cb cbad710a6509 |
line wrap: on
line diff
--- a/src/video/dga/SDL_dgaevents.c Wed Mar 22 04:51:44 2006 +0000 +++ b/src/video/dga/SDL_dgaevents.c Wed Mar 22 05:00:59 2006 +0000 @@ -45,7 +45,7 @@ int posted; SDL_NAME(XDGAEvent) xevent; - pXNextEvent(DGA_Display, (XEvent *)&xevent); + XNextEvent(DGA_Display, (XEvent *)&xevent); posted = 0; xevent.type -= DGA_event_base; @@ -96,7 +96,7 @@ static XComposeStatus state; char keybuf[32]; - if ( pXLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { + if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { /* * FIXME: XLookupString() may yield more than one * character, so we need a mechanism to allow for