[gtk+] spinbutton: Fix drag highlight problems
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] spinbutton: Fix drag highlight problems
- Date: Fri, 11 Mar 2016 13:08:01 +0000 (UTC)
commit 3064e4e40660381842bff65a6e75a5109c710b89
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 11 08:07:30 2016 -0500
spinbutton: Fix drag highlight problems
Don't propagate :drop(active) to the buttons.
gtk/gtkspinbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 0219575..8705a09 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -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) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]