SHA256
1
0
forked from pool/SDL2
SDL2/dbus.diff

22 lines
860 B
Diff

References: https://bugzilla.libsdl.org/show_bug.cgi?id=3854
Fix an assertion, triggered by libdbus receiving garbage
from a varargs function in SDL.
---
src/core/linux/SDL_ibus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: SDL2-2.0.6/src/core/linux/SDL_ibus.c
===================================================================
--- SDL2-2.0.6.orig/src/core/linux/SDL_ibus.c
+++ SDL2-2.0.6/src/core/linux/SDL_ibus.c
@@ -479,7 +479,7 @@ IBus_SimpleMessage(const char *method)
SDL_DBusContext *dbus = SDL_DBus_GetContext();
if (IBus_CheckConnection(dbus)) {
- SDL_DBus_CallVoidMethodOnConnection(ibus_conn, IBUS_SERVICE, input_ctx_path, IBUS_INPUT_INTERFACE, method);
+ SDL_DBus_CallVoidMethodOnConnection(ibus_conn, IBUS_SERVICE, input_ctx_path, IBUS_INPUT_INTERFACE, method, DBUS_TYPE_INVALID);
}
}