@dolik-rce commented on this pull request.
> + gint y = SSM(sci, SCI_POINTYFROMPOSITION, 0, pos) + line_height;
+ GdkRectangle rect = {x, y, 0, 0};
+ GdkGravity rect_anchor = gtk_widget_get_direction(GTK_WIDGET(menu)) ==
GTK_TEXT_DIR_RTL ? GDK_GRAVITY_NORTH_EAST : GDK_GRAVITY_NORTH_WEST;
+ gtk_menu_popup_at_rect(GTK_MENU(menu), window, &rect, rect_anchor,
GDK_GRAVITY_NORTH_WEST, NULL);
Thanks, applied.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3316#discussion_r1059635236
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3316/review/[email protected]>