Skip to content
Commit 1f57c5b1 authored by Carlos Soriano Sánchez's avatar Carlos Soriano Sánchez
Browse files

ui-utilities: use gtk_menu_popup_at_pointer instead of gtk_popup_menu

We were using gtk_popup_menu which is problematic in backends with no
global coordinates like wayland.

To fix it, we can use gtk_menu_popup_at_pointer which uses the event
relative coordinates.

Also, seems the custom handling we were doing for the popup menu in that
code is obsoleted, so there is not need to specify the button.

https://bugzilla.gnome.org/show_bug.cgi?id=772507
parent dedd9c61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment