Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2009 04:57:50 GMT
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133482: x11/libXext "Generic Event Extension not available" error is annoying
Message-ID:  <200904080457.n384vo3q064399@www.freebsd.org>
Resent-Message-ID: <200904080500.n38508RR003503@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133482
>Category:       ports
>Synopsis:       x11/libXext "Generic Event Extension not available" error is annoying
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 05:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tim Kientzle
>Release:        FreeBSD-CURRENT
>Organization:
>Environment:
FreeBSD dark.x.kientzle.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r190666: Fri Apr 3 00:25:54 PDT 2009     root@dark.kientzle.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Almost every X-based program spits out loads of
 "Generic Event Extension" not available
messages.  Since I understand this extension has
never been implemented in any X.org server, it
seems kind of pointless and mostly serves only
to be annoying.

>How-To-Repeat:

>Fix:
Attached patch converts the "test for Generic Extension" function
to use the XextHasExtension() test instead of the XextCheckExtension()
test (the latter always warns if the extension is unavailable).
This has no impact on functionality at all; it merely removes
the pointless warning.


Patch attached with submission follows:

--- libXext-1.0.5-old/src/Xge.c	2008-12-03 11:02:05.000000000 -0800
+++ libXext-1.0.5/src/Xge.c	2009-04-07 21:36:05.000000000 -0700
@@ -161,8 +161,7 @@
 static Bool
 _xgeCheckExtension(Display* dpy, XExtDisplayInfo* info)
 {
-    XextCheckExtension(dpy, info, xge_extension_name, False);
-    return True;
+    return XextHasExtension(info);
 }
 
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904080457.n384vo3q064399>