[gtk+] treeview: fix dragging of columns in mutter
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: fix dragging of columns in mutter
- Date: Tue, 12 Nov 2013 04:17:37 +0000 (UTC)
commit 0db8aeaad9f81d7d3b582cc9f0b096705bf0591a
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 2ee1bb7..8826ba1 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]