menu: Fixate size calculated by gdk_window_move_to_rect()

When we receive a size from the move-to-rect implementation, force GTK
to continue using that size until reconfigured by move-to-rect, or
when remapped.

Fixes: #1651
This commit is contained in:
Jonas Ådahl
2019-02-06 19:30:54 +01:00
parent 7298e73c44
commit 57300b4960
2 changed files with 16 additions and 10 deletions

View File

@ -62,6 +62,7 @@ struct _GtkMenuPrivate
gint rect_anchor_dx;
gint rect_anchor_dy;
GdkWindowTypeHint menu_type_hint;
gboolean emulated_move_to_rect;
guint toggle_size;
guint accel_size;