mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-14 22:57:37 +03:00
Register to bus when connect to ibus.
This is required when the actual dbus is not from ibus but session bus. This may happen when other run a shim layer for ibus, or ibus is running with flatpak mode.
This commit is contained in:
parent
73dd218a95
commit
b1387d50f0
2
glfw/ibus_glfw.c
vendored
2
glfw/ibus_glfw.c
vendored
@ -269,7 +269,7 @@ setup_connection(_GLFWIBUSData *ibus) {
|
||||
ibus->conn = NULL;
|
||||
}
|
||||
debug("Connecting to IBUS daemon @ %s for IME input management\n", ibus->address);
|
||||
ibus->conn = glfw_dbus_connect_to(ibus->address, "Failed to connect to the IBUS daemon, with error", "ibus", false);
|
||||
ibus->conn = glfw_dbus_connect_to(ibus->address, "Failed to connect to the IBUS daemon, with error", "ibus", true);
|
||||
if (!ibus->conn) return false;
|
||||
free((void*)ibus->input_ctx_path); ibus->input_ctx_path = NULL;
|
||||
if (!glfw_dbus_call_method_with_reply(
|
||||
|
Loading…
Reference in New Issue
Block a user