mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
spinbutton: Fix drag highlight problems
Don't propagate :drop(active) to the buttons.
This commit is contained in:
parent
2fee5fbda7
commit
3064e4e406
@ -926,7 +926,7 @@ gtk_spin_button_panel_get_state (GtkSpinButton *spin_button,
|
||||
|
||||
state = gtk_widget_get_state_flags (GTK_WIDGET (spin_button));
|
||||
|
||||
state &= ~(GTK_STATE_FLAG_ACTIVE | GTK_STATE_FLAG_PRELIGHT);
|
||||
state &= ~(GTK_STATE_FLAG_ACTIVE | GTK_STATE_FLAG_PRELIGHT | GTK_STATE_FLAG_DROP_ACTIVE);
|
||||
|
||||
if ((state & GTK_STATE_FLAG_INSENSITIVE) ||
|
||||
gtk_spin_button_panel_at_limit (spin_button, panel) ||
|
||||
|
Loading…
Reference in New Issue
Block a user