Fixed warning when building without ibus
parent
fe63e00be9
commit
b56b37cde6
|
@ -571,7 +571,9 @@ X11_DispatchEvent(_THIS)
|
||||||
KeySym keysym = NoSymbol;
|
KeySym keysym = NoSymbol;
|
||||||
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
|
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
|
||||||
Status status = 0;
|
Status status = 0;
|
||||||
|
#ifdef SDL_USE_IBUS
|
||||||
Bool handled = False;
|
Bool handled = False;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_XEVENTS
|
#ifdef DEBUG_XEVENTS
|
||||||
printf("window %p: KeyPress (X11 keycode = 0x%X)\n", data, xevent.xkey.keycode);
|
printf("window %p: KeyPress (X11 keycode = 0x%X)\n", data, xevent.xkey.keycode);
|
||||||
|
|
|
@ -53,13 +53,8 @@
|
||||||
#include <X11/extensions/xf86vmode.h>
|
#include <X11/extensions/xf86vmode.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_DBUS_DBUS_H
|
|
||||||
#include "../../core/linux/SDL_dbus.h"
|
#include "../../core/linux/SDL_dbus.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_IBUS_IBUS_H
|
|
||||||
#include "../../core/linux/SDL_ibus.h"
|
#include "../../core/linux/SDL_ibus.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "SDL_x11dyn.h"
|
#include "SDL_x11dyn.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue