[gtk] widget: Also propagate ACTIVE state when unsetting



commit 8c4dc3de4dfbbb7f919e600d7ecf1266f51460a4
Author: Timm Bäder <mail baedert org>
Date:   Tue Jan 29 07:19:20 2019 +0100

    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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]