Skip to content

Commit

Permalink
Fixed warning when building without ibus
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 22, 2014
1 parent fe63e00 commit b56b37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/video/x11/SDL_x11events.c
Expand Up @@ -571,7 +571,9 @@ X11_DispatchEvent(_THIS)
KeySym keysym = NoSymbol;
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
Status status = 0;
#ifdef SDL_USE_IBUS
Bool handled = False;
#endif

#ifdef DEBUG_XEVENTS
printf("window %p: KeyPress (X11 keycode = 0x%X)\n", data, xevent.xkey.keycode);
Expand Down
5 changes: 0 additions & 5 deletions src/video/x11/SDL_x11video.h
Expand Up @@ -53,13 +53,8 @@
#include <X11/extensions/xf86vmode.h>
#endif

#ifdef HAVE_DBUS_DBUS_H
#include "../../core/linux/SDL_dbus.h"
#endif

#ifdef HAVE_IBUS_IBUS_H
#include "../../core/linux/SDL_ibus.h"
#endif

#include "SDL_x11dyn.h"

Expand Down

0 comments on commit b56b37c

Please sign in to comment.