forked from phuang/ibus
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Fix ibus start/restart in Plasma Wayland
ibus start/restart frequently failed because of the timeout. Now the command waits for the "/VirtualKeyboard" on "org.kde.kwin.VirtualKeyboard" D-Bus ack signal so that the "/kwinrc" on "org.kde.kconfig.notify" D-Bus signal is completed. Also use ibusinternal.h instead of dbus.h . Fixes: 74712fa
- Loading branch information
Showing
3 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "dbus/dbus.h")] | ||
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "ibusinternal.h")] | ||
namespace DBus | ||
{ | ||
[CCode (cheader_filename = "dbus/dbus.h", cname = "DBUS_INTERFACE_DBUS")] | ||
[CCode (cheader_filename = "ibusinternal.h", cname = "DBUS_INTERFACE_DBUS")] | ||
public const string INTERFACE_DBUS; | ||
[CCode (cheader_filename = "dbus/dbus.h", cname = "DBUS_PATH_DBUS")] | ||
[CCode (cheader_filename = "ibusinternal.h", cname = "DBUS_PATH_DBUS")] | ||
public const string PATH_DBUS; | ||
[CCode (cheader_filename = "dbus/dbus.h", cname = "DBUS_SERVICE_DBUS")] | ||
[CCode (cheader_filename = "ibusinternal.h", cname = "DBUS_SERVICE_DBUS")] | ||
public const string SERVICE_DBUS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters