mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-22 20:17:45 +03:00
Update ibus_glfw.c
This commit is contained in:
parent
c45a656153
commit
d078cb264a
6
glfw/ibus_glfw.c
vendored
6
glfw/ibus_glfw.c
vendored
@ -168,11 +168,7 @@ ibus_on_owner_change(DBusConnection* conn UNUSED, DBusMessage* msg, void* user_d
|
||||
}
|
||||
|
||||
_GLFWIBUSData* ibus = (_GLFWIBUSData*) user_data;
|
||||
if (strcmp(new_owner, "") == 0) {
|
||||
ibus->ok = false;
|
||||
} else {
|
||||
ibus->ok = true;
|
||||
}
|
||||
ibus->ok = strcmp(new_owner, "") != 0;
|
||||
|
||||
return DBUS_HANDLER_RESULT_HANDLED;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user