colorswatch: Readd accidentally removed call

This commit is contained in:
Benjamin Otte 2016-11-03 00:38:48 +01:00
parent d818f3fcd4
commit 0508526658

View File

@ -455,6 +455,8 @@ swatch_realize (GtkWidget *widget)
GTK_WIDGET_CLASS (gtk_color_swatch_parent_class)->realize (widget);
gtk_widget_get_allocation (widget, &allocation);
swatch->priv->event_window = gdk_window_new_input (gtk_widget_get_window (widget),
gtk_widget_get_events (widget)
| GDK_BUTTON_PRESS_MASK