lxde / lxterminal

VTE terminal emulator written in GTK
GNU General Public License v2.0
159 stars 56 forks source link

Use gtk_menu_popup_at_pointer if gtk >= 3.22 #71

Closed xdavidwu closed 4 years ago

xdavidwu commented 5 years ago

gtk_menu_popup_at_pointer is introduced in gtk 3.22, and gtk_menu_popup is marked as deprecated (and removed in gtk4 branch). gtk_menu_popup_at_pointer also contains extra logic that fix popup positioning in wayland so the menu won't be out of display.