From 8c4dc3de4dfbbb7f919e600d7ecf1266f51460a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 29 Jan 2019 07:19:20 +0100 Subject: [PATCH] widget: Also propagate ACTIVE state when unsetting --- gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index a2b9fcdcf2..a8fb4d3a64 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -436,7 +436,8 @@ GTK_STATE_FLAG_BACKDROP) #define GTK_STATE_FLAGS_DO_UNSET_PROPAGATE (GTK_STATE_FLAG_INSENSITIVE | \ GTK_STATE_FLAG_BACKDROP | \ - GTK_STATE_FLAG_PRELIGHT) + GTK_STATE_FLAG_PRELIGHT | \ + GTK_STATE_FLAG_ACTIVE) typedef struct { gchar *name; /* Name of the template automatic child */