Updating branch refs/heads/bluesabre/display-settings to 1d62ea7fb76ce14c87c61dd4a41d6ccc5b9c6095 (commit) from 5231578eae05bf32e3dc9e05baf38dd3ed974c3c (commit)
commit 1d62ea7fb76ce14c87c61dd4a41d6ccc5b9c6095 Author: Lionel Le Folgoc <lio...@lefolgoc.net> Date: Sun Oct 28 17:11:13 2012 +0100 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."); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits