This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: An issue with libX11?
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: "angelo dot graziosi at alice dot it >> Angelo Graziosi" <angelo dot graziosi at alice dot it>
- Date: Sun, 09 Nov 2014 20:16:51 +0000
- Subject: Re: An issue with libX11?
- Authentication-results: sourceware.org; auth=none
- References: <545F8A73 dot 6010206 at alice dot it>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On 09/11/2014 15:38, Angelo Graziosi wrote:
From another application I have an issue with libX11 which I can
reproduce with the following STC,
I don't think this test case is well-formed.
int main()
{
dis = XOpenDisplay(NULL);
win = XCreateSimpleWindow(dis, RootWindow(dis, 0), 1, 1, 500, 500,
0, BlackPixel (dis, 0), BlackPixel(dis, 0));
XMapWindow(dis, win);
A 'XSelectInput(dis, win, KeyPress)' is needed here to tell the X server
that this client wishes to receive KeyPress event.s
I am not an X11 expert, so it could be I am doing the wrong things but
the same code runs fine on OSX+XQuartz and GCC-4.9.1.
I tried with XQuartz 2.7.8_beta1 and I couldn't reproduce that.
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/