pop up windows
Steven J Abner
pheonix.sja at att.net
Fri Feb 14 23:13:56 UTC 2025
On Fri, Feb 14 2025 at 06:39:34 PM +0000, Steven J Abner
<pheonix.sja at att.net> wrote:
> Crying, sigh...
I Love you I love you!
Thank you, It works and even have to reset computer if I don't
ungrab!!! Thank you!
Solution... don't use xcb_grab_pointer()
Use add in code:
#include <X11/Xlib-xcb.h>
display = XOpenDisplay(NULL);
connection = XGetXCBConnection(display);
XGrabPointer(display, iface->window, true,
ButtonPressMask|ButtonReleaseMask|PointerMotionMask, GrabModeAsync,
GrabModeAsync, None, None, CurrentTime);
gcc -ansi -pedantic -Wall -Wno-unknown-pragmas -g -o xpop xpop.c -lxcb
-lX11 -lX11-xcb && gdb xpop
I included command line build because of 2 library additions.
I Love you Thanks
Steve
More information about the Xcb
mailing list