mirror of https://github.com/encounter/SDL.git
linux: remove d-bus lazy init dead code
Lazy init in X11/Wayland is dead code since dbdbae4
This commit is contained in:
parent
f5bc58bf57
commit
b08b1bde66
|
@ -578,10 +578,6 @@ Wayland_VideoInit(_THIS)
|
||||||
|
|
||||||
Wayland_InitKeyboard(_this);
|
Wayland_InitKeyboard(_this);
|
||||||
|
|
||||||
#if SDL_USE_LIBDBUS
|
|
||||||
SDL_DBus_Init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "wayland-util.h"
|
#include "wayland-util.h"
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "../../core/linux/SDL_dbus.h"
|
|
||||||
#include "../../core/linux/SDL_ime.h"
|
#include "../../core/linux/SDL_ime.h"
|
||||||
|
|
||||||
struct xkb_context;
|
struct xkb_context;
|
||||||
|
|
|
@ -453,10 +453,6 @@ X11_VideoInit(_THIS)
|
||||||
|
|
||||||
X11_InitTouch(_this);
|
X11_InitTouch(_this);
|
||||||
|
|
||||||
#if SDL_USE_LIBDBUS
|
|
||||||
SDL_DBus_Init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
#include <X11/extensions/xf86vmode.h>
|
#include <X11/extensions/xf86vmode.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../../core/linux/SDL_dbus.h"
|
|
||||||
#include "../../core/linux/SDL_ime.h"
|
#include "../../core/linux/SDL_ime.h"
|
||||||
|
|
||||||
#include "SDL_x11dyn.h"
|
#include "SDL_x11dyn.h"
|
||||||
|
|
Loading…
Reference in New Issue