forked from linuxmint/nemo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eel-gtk-extensions.c: (Wayland) Fix menu popup positioning, popup
closing issues when using the mouse to try and change focus. When opening the menu without the mouse (shift-F10, keyboard context menu key) gtk_menu_popup complains about not having a parent, and pops up in the wrong location. Using gtk_menu_popup_at_rect() with a fabricated rectangle based on the pointer location works instead. A pleasant side effect of this is that it works around another bug where clicking off the left side of a popup fails to close the menu or change focus at all. The menu now closes fine, regardless of where the user clicks. In X11 sessions gtk_menu_popup_at_pointer() is still used. Fixes linuxmint#3218 Fixes linuxmint#3280 ref: https://bugs.kde.org/show_bug.cgi?id=453532
- Loading branch information
Showing
6 changed files
with
70 additions
and
45 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