From 0583af45a205b98d3b23dcf0ecd78b5c495d2d09 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 Jun 2024 12:29:45 +0200 Subject: Revert "Revert "Work around GTK 3.20's new allocation logic. Ported from slick-greeter."" This reverts commit dd603ac1b726ee5b6e6a4d1c9e9e7732d5bbea99. Signed-off-by: Mike Gabriel --- src/prompt-box.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/prompt-box.vala') diff --git a/src/prompt-box.vala b/src/prompt-box.vala index 97c95ba..601464e 100644 --- a/src/prompt-box.vala +++ b/src/prompt-box.vala @@ -96,6 +96,9 @@ public class PromptBox : FadableBox construct { + // Hack to avoid gtk 3.20's new allocate logic, which messes us up. + resize_mode = Gtk.ResizeMode.QUEUE; + set_start_row (); reset_last_row (); expand = true; -- cgit v1.2.3