From 552dd36c2c012642643cba5692cb90c2300e4dd2 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Tue, 20 Jun 2017 11:20:35 +0200 Subject: Fix prompt display in gtk3 > 3.20 (ported from slick-greeter) --- src/Makefile.am | 1 + src/greeter-list.vala | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 1fcefc7..ec75868 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,6 +51,7 @@ arctica_greeter_CFLAGS = \ logo_generator_CFLAGS = $(arctica_greeter_CFLAGS) arctica_greeter_VALAFLAGS = \ + $(AM_VALAFLAGS) \ --debug \ --pkg posix \ --pkg gtk+-3.0 \ diff --git a/src/greeter-list.vala b/src/greeter-list.vala index 4734ab1..17d80a8 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -626,6 +626,10 @@ public abstract class GreeterList : FadableBox focus_prompt (); entry_displayed_done (); mode = Mode.ENTRY; + +#if HAVE_GTK_3_20_0 + queue_allocate (); +#endif } protected void select_entry (PromptBox entry, double direction, bool do_scroll = true) -- cgit v1.2.3