An issue with libX11?

2014-11-09 Thread Angelo Graziosi
From another application I have an issue with libX11 which I can reproduce with the following STC, $ cat getch_test.c /* gcc getch_test.c -lX11 -o getch_test.out DISPLAY=127.0.0.1:0.0 ./getch_test.out */ #include stdio.h #include stdlib.h #include X11/Xlib.h #include X11/Xutil.h #include

Re: An issue with libX11?

2014-11-09 Thread Jon TURNEY
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

Re: An issue with libX11?

2014-11-09 Thread Angelo Graziosi
Il 09/11/2014 21:16, Jon TURNEY ha scritto: 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

Re: An issue with libX11?

2014-11-09 Thread Jon TURNEY
On 09/11/2014 20:49, Angelo Graziosi wrote: Il 09/11/2014 21:16, Jon TURNEY ha scritto: 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

Re: An issue with libX11?

2014-11-09 Thread Angelo Graziosi
Il 09/11/2014 22:16, Jon TURNEY ha scritto: On 09/11/2014 20:49, Angelo Graziosi wrote: ... XMapWindow(dis, win); XSelectInput(dis, win, KeyPress); Oops. I think that should be KeyPressMask. Now, it works as expected. Thanks.. Angelo -- Unsubscribe info: