[gtk/fix-x11-drag-icons: 3/3] colorbutton: No nested drag sources, please




commit da6f86bd7949190fcb06433db4df84e015df17d9
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 12 22:23:31 2021 -0500

    colorbutton: No nested drag sources, please
    
    This is causing trouble on X11.

 gtk/gtkcolorbutton.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 499c57f3f2..71289e3433 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -296,6 +296,7 @@ gtk_color_button_init (GtkColorButton *button)
                                  "accessible-role", GTK_ACCESSIBLE_ROLE_IMG,
                                  "selectable", FALSE,
                                  "has-menu", FALSE,
+                                 "can-drag", FALSE,
                                  NULL);
   gtk_widget_set_can_focus (button->swatch, FALSE);
   gtk_widget_remove_css_class (button->swatch, "activatable");


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