gtkwindow: Clear active state on sensitiveness changes
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Sep 2023 17:40:05 +0000 (19:40 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2023 20:32:27 +0000 (16:32 -0400)
commitff0d7443ee1f24542e85a7d931aaa40df0b93057
tree698472894a67ff04c764d1fb6db3df45997a046d
parent70bf8ca928f284deea9c9bca26c8bfcf5de88dc5
gtkwindow: Clear active state on sensitiveness changes

When altering the broken implicit grab due to sensitiveness changes,
also ensure to clear the active state from the affected actors. This
fixes unbalanced implicit active state accounting on the widgets going
insensitive.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5529
gtk/gtkwindow.c