widget: Unset PRELIGHT and ACTIVE state flags in unmap
This commit is contained in:
committed by
Matthias Clasen
parent
1dd716e66f
commit
cef4df1e7e
@@ -10520,6 +10520,10 @@ gtk_widget_real_unmap (GtkWidget *widget)
|
||||
{
|
||||
gtk_widget_unmap (child);
|
||||
}
|
||||
|
||||
gtk_widget_unset_state_flags (widget,
|
||||
GTK_STATE_FLAG_PRELIGHT |
|
||||
GTK_STATE_FLAG_ACTIVE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user