colorbutton: No nested drag sources, please

This is causing trouble on X11.
This commit is contained in:
Matthias Clasen 2021-12-12 22:23:31 -05:00
parent 42fd499af4
commit da6f86bd79

View File

@ -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");