forked from phuang/ibus
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui/gtk3: Make GtkMenu with GdkDisplayX11
Wayland does not support to put GtkMenu with a specific position but GtkStatusIcon or AppIndicator requires GtkMenu made with GdkDisplayX11 so that it's put at the panel icon. On the other hand, now GdkDisplayWayland is also required to get wl_display for input method protocol. Now GdkMenu is genrated with GdkDisplayX11 but GdkDevice pointer is made with GdkDisplayWayland and the menu is activated only when an input context is focused. So you might need to click a input context in an application window after you click the panel icon to show the panel menus unfortunately. We many need to separate the processes of IBus panel icon and the candidate popup to separate GdkDisplayWayland and GdkDisplayX11. BUG=#2408
- Loading branch information
Showing
1 changed file
with
59 additions
and
31 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