With libXext 1.0.5 (a recent upgrade) the error message: Xlib: "Generic Event Extension" missing on display '<whatever>'. is produced if the server (e.g. Xming) does not support the extension but does support at least one other known extension. It's a simple mud-on-face bug in libXext 1.0.5 extutil.c line 127 (the strcmp, oops ;-) Best repro is with Xming - the free version simply doesn't have the extension, so the error message is squirted onto stderr on the first XOpenDisplay. Reproducible: Always Steps to Reproduce: See description.
Created attachment 207377 [details, diff] Patch to fix the bug in libXext 1.0.5 I've reported the bug #24581 in bugs.freedesktop.org. The patch, verified against x11-libs/libXext/libXext-1.0.5.ebuild, is attached (it simply corrects the strcmp test) and has been verified against my own program.
That (the strcmp change) is the wrong fix - the code really was meant to do that. There is an existing fix for libXext; commit 8a91fc6f72206362f399b5e29bf3d5f44f4eb822 - see #24581, here: http://bugs.freedesktop.org/show_bug.cgi?id=24581 Or see the commit itself: http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=8a91fc6f72206362f399b5e29bf3d5f44f4eb822 It's a two liner diff and the libXext 1.0.5 code seems unchanged so it can just be back ported into 1.0.5
Fixed in libxext-1.1, if I'm reading this right. X11: Wanna backport? Otherwise, just close this bug as FIXED
It's just a warning and is clearly marked as such... We'll get to newer libXext at some point. I don't see the need to backport that "fix". Cheers