mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
treeview: fix dragging of columns in mutter
Don't recurse the mainloop in _gtk_tree_view_column_start_drag(). It doesn't serve any discernible purpose, and recursing the mainloop from the flush-events phas of the frame clock breaks frame synchronization with mutter. https://bugzilla.gnome.org/show_bug.cgi?id=705176
This commit is contained in:
parent
fc8be96163
commit
0db8aeaad9
@ -9926,8 +9926,6 @@ _gtk_tree_view_column_start_drag (GtkTreeView *tree_view,
|
||||
gdk_window_show (tree_view->priv->drag_window);
|
||||
|
||||
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
|
||||
while (gtk_events_pending ())
|
||||
gtk_main_iteration ();
|
||||
|
||||
tree_view->priv->in_column_drag = TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user