An issue with libX11?
Sun Nov 9 20:17:00 GMT 2014
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.
Volunteer Cygwin/X X Server maintainer
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree