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.
ui/gtk3: Enable libdbusmenu in Indicator
IBus panel now uses libdbusmenu to settle the panel menu coordiantes in Plasma Wayland desktop session since the Wayland display is required to use the Wayland input-method protocol. Now g_bus_get (G_BUS_TYPE_SESSION) is moved to Indicator to follow the AppIndicator implementation strictly and a new API ibus_service_class_free_interfaces() is added in libibus.so in case IBusService constructor does not need GDBusConnection. Previously GtkMenu absolute cooridiantes are used with Xorg display and AppIndicator "Activate" and "ContextMenu" D-Bus methods are used but now the coordiates are transferred to libdbusmenu and "Menu" D-Bus method is available and the activate menu only is shown by default. The workaround is to use the middle mouse click to toggle the activate and context menus at the moment. BUG=#2408
- Loading branch information
Showing
8 changed files
with
217 additions
and
87 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
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
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
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
Oops, something went wrong.