[gtk+/gtk-3-10] treeview: fix dragging of columns in mutter
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] treeview: fix dragging of columns in mutter
- Date: Tue, 12 Nov 2013 04:19:09 +0000 (UTC)
commit 27318ef89e89fd96fbda5b656222ea3faa08777f
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 11 22:53:12 2013 -0500
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
gtk/gtktreeview.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 7e4fc8a..e38dab0 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -9923,8 +9923,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]