Category "xlib"

Trouble with XSetSelectionOwner

I have an application in which one opens many windows. I added copy/paste, using XA_PRIMARY. That works fine within my application. It also works fine when copy

How to stop the execution of a running code in x11

I have a program that draws on a x11 window and I'd like to quit it as soon as I press any key. With the code I have, I cannot stop the program with a keypress