Skip to content

Conversation

@wb9688
Copy link
Contributor

@wb9688 wb9688 commented Feb 2, 2021

gtk_menu_popup() has been deprecated in GTK 3.22 in favor of the new gtk_menu_popup_at_widget(), gtk_menu_popup_at_pointer(), and gtk_menu_popup_at_rect() due to Wayland.

@LStranger
Copy link
Member

While it looks good, does gtk_menu_popup_at_pointer() ensure menu is always inside of widget for which it was opened? I'm afraid it will not, especially if that was a keyboard stroke what pulled off the menu. The popup_position_func() ensured that so I suppose some logic should be created for 3.22+ to make a position for menu and gtk_menu_popup_at_widget() called instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants