Commit 4f27932f authored by Sebastien Granjoux's avatar Sebastien Granjoux

bgo #699545 - Can't grab or focus widgets after moving around the docks (Ubuntu-specific)

parent 745d2742
......@@ -1774,7 +1774,7 @@ gdl_dock_item_drag_end (GdlDockItem *item,
{
if (item->priv->in_drag) {
/* Release pointer & keyboard. */
gtk_grab_remove (gtk_grab_get_current ());
gtk_grab_remove (GTK_WIDGET (item));
g_signal_emit (item, gdl_dock_item_signals [DOCK_DRAG_END], 0, cancel);
gtk_widget_grab_focus (GTK_WIDGET (item));
......
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