Commit 98801b07 authored by Matthias Clasen's avatar Matthias Clasen

GtkColorChooser: Fix selection of colors

Prevent the new window dragging code from interfering with
selection of colors on button release, by handling button
presses we care about instead of letting them bubble up to
the window.
Partial fix for
parent 26d3fc31
......@@ -483,6 +483,10 @@ swatch_button_press (GtkWidget *widget,
g_signal_emit (swatch, signals[ACTIVATE], 0);
return TRUE;
else if (event->button == GDK_BUTTON_PRIMARY)
return TRUE;
return FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment