[SOLVED] Re: input context attribute "XNFocusWindow"

2016-05-09 Thread Lucien Gentis
So I do Questions and Answers I found a solution to my problem, but no explanation: In the little program I joigned, I had to replace the line: if (XSetLocaleModifiers("") == NULL) { by if (XSetLocaleModifiers("@im=none") == NULL) { Output of prog-1 is now correct, and since I modified the a

Re: input context attribute "XNFocusWindow"

2016-05-06 Thread Lucien Gentis
Additional informations: Even XNInputStyle is not set: if I do: ic=XCreateIC(im,XNInputStyle,XIMPreeditNothing|XIMStatusNothing,NULL); long int st; XGetICValues(ic,XNInputStyle,&st,NULL); printf ("XIMPreeditNothing|XIMStatusNothing = %ld - style ic = %ld\n",XIMPreeditNothing|XIMStatusNothing,st