Applied fix_gtk_main.diff from Christoph Egger <christoph@debian.org>. (Closes: ...
authorAndrew Lee (李健秋) <ajqlee@debian.org>
Mon, 12 Aug 2013 17:40:28 +0000 (01:40 +0800)
committerAndrew Lee (李健秋) <ajqlee@debian.org>
Mon, 12 Aug 2013 17:40:28 +0000 (01:40 +0800)
debian/patches/fix_gtk_main.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix_gtk_main.diff b/debian/patches/fix_gtk_main.diff
new file mode 100644 (file)
index 0000000..ed2b9f8
--- /dev/null
@@ -0,0 +1,38 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ lxpanel (0.5.10-1.1) UNRELEASED; urgency=low
+ .
+   * Non-maintainer upload.
+   * local rebuild
+Author: Christoph Egger <christoph@debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- lxpanel-0.5.10.orig/src/panel.c
++++ lxpanel-0.5.10/src/panel.c
+@@ -1683,7 +1683,9 @@ restart:
+     if (config)
+         configure();
+ */
++    gdk_threads_enter();
+     gtk_main();
++    gdk_threads_leave();
+     XSelectInput (GDK_DISPLAY(), GDK_ROOT_WINDOW(), NoEventMask);
+     gdk_window_remove_filter(gdk_get_default_root_window (), (GdkFilterFunc)panel_event_filter, NULL);
index d6eb6ea..e01e8e4 100644 (file)
@@ -1,3 +1,4 @@
 01-default-config.patch
 02-desktop-number.patch
 03-run-in-background.patch
+fix_gtk_main.diff