[packages/xfce4-settings] - fix for https://bugzilla.xfce.org/show_bug.cgi?id=9390

baggins baggins at pld-linux.org
Wed Oct 9 13:31:30 CEST 2013


commit ab6dbebc97fa4d3ffa07fe1a661922934086ac33
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 9 13:30:50 2013 +0200

    - fix for https://bugzilla.xfce.org/show_bug.cgi?id=9390

 ...tingsd-Check-for-NoSuchExtension-bug-9390.patch | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
---
diff --git a/02-Xfsettingsd-Check-for-NoSuchExtension-bug-9390.patch b/02-Xfsettingsd-Check-for-NoSuchExtension-bug-9390.patch
new file mode 100644
index 0000000..c18b667
--- /dev/null
+++ b/02-Xfsettingsd-Check-for-NoSuchExtension-bug-9390.patch
@@ -0,0 +1,26 @@
+From 1d62ea7fb76ce14c87c61dd4a41d6ccc5b9c6095 Mon Sep 17 00:00:00 2001
+From: Lionel Le Folgoc <lionel at lefolgoc.net>
+Date: Sun, 28 Oct 2012 17:11:13 +0100
+Subject: [PATCH] Xfsettingsd: Check for NoSuchExtension (bug #9390).
+
+---
+ xfsettingsd/pointers.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/xfsettingsd/pointers.c b/xfsettingsd/pointers.c
+index a060051..e7192e7 100644
+--- a/xfsettingsd/pointers.c
++++ b/xfsettingsd/pointers.c
+@@ -129,7 +129,8 @@ xfce_pointers_helper_init (XfcePointersHelper *helper)
+     version = XGetExtensionVersion (xdisplay, INAME);
+ 
+     /* check for Xi */
+-    if (version == NULL || !version->present)
++    if (version == NULL || ((long) version) == NoSuchExtension
++        || !version->present)
+     {
+         g_critical ("XI is not present.");
+     }
+-- 
+1.8.3.1
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfce4-settings.git/commitdiff/6e7c2c2aecbb194d5a56c687efb5e0ee21078537



More information about the pld-cvs-commit mailing list