summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2011-06-02 20:14:09 +0300
committerPauli Nieminen <suokkos@gmail.com>2011-06-02 20:28:23 +0300
commitfcb913a828f1caffdc4dacbb73af565d9e242315 (patch)
tree94ffa7e99fcabdb7174fb61c534983bd6337117f
parent0cf0e4702ecbf5ca302853ebc80fc93eb2fc5958 (diff)
Cherry-pick a cursor bug fix from master
Cherry-pick cursor fix from upstream commit 737409b Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
-rw-r--r--debian/patches/Call-gdk_flush-in-set_busy.patch37
-rw-r--r--debian/patches/series1
2 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/Call-gdk_flush-in-set_busy.patch b/debian/patches/Call-gdk_flush-in-set_busy.patch
new file mode 100644
index 0000000..f6768cd
--- /dev/null
+++ b/debian/patches/Call-gdk_flush-in-set_busy.patch
@@ -0,0 +1,37 @@
+From 9e7db72edb549c63a51d82dee473f832c7f01edc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= <sandmann@daimi.au.dk>
+Date: Fri, 5 Nov 2010 00:21:17 -0400
+Subject: [PATCH] Call gdk_flush() in set_busy().
+
+Otherwise, the cursor won't show up. (GTK+ 2.22).
+---
+ sysprof.c | 6 ++----
+ 1 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/sysprof.c b/sysprof.c
+index cc676a9..55f1b09 100644
+--- a/sysprof.c
++++ b/sysprof.c
+@@ -270,6 +270,8 @@ set_busy (GtkWidget *widget,
+
+ if (cursor)
+ gdk_cursor_unref (cursor);
++
++ gdk_flush();
+ }
+
+ static void
+@@ -1726,10 +1728,6 @@ main (int argc,
+ g_idle_add_full (G_PRIORITY_LOW, load_file, file_open_data, NULL);
+ }
+
+-#if 0
+- g_idle_add (gtk_main_quit, NULL);
+-#endif
+-
+ gtk_main ();
+
+ return 0;
+--
+1.7.5.3
+
diff --git a/debian/patches/series b/debian/patches/series
index 037411f..1295382 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
Don-t-install-udev-rule.patch
+Call-gdk_flush-in-set_busy.patch