pop up windows
Steven J Abner
pheonix.sja at att.net
Fri Feb 14 18:39:34 UTC 2025
On Fri, Feb 14 2025 at 05:24:22 PM +0000, Steven J Abner
<pheonix.sja at att.net> wrote:
> only receiving events with button continuously pressed
Crying, sigh... but very thankful for your reply!
I sent you revised code. Has your black window, but extra debug code
you can use to verify that at least the xcb version of grab pointer
doesn't work as you describe. I've used all three windows (popup,
parent, root), sync/async, before and after button release that creates
the dropdown. It still requires a 'grab' or that button is not released
for one to receive events. Extra #if0 code was my next logical attempt
before the, omg have you seen, evdev attempt at getting events. I'm
really not that bright! Nor do I want to replace X Server. LOL this
code was to replace the defunct gdk3.
Ohh I will try Xlib's GrabPointer, I know somewhere I've got the
header/add on to use both codes :)
And in main() is example of shutting off debug specific events.
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xpop.c
Type: text/x-csrc
Size: 22353 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20250214/96ba8b10/attachment-0001.c>
More information about the Xcb
mailing list