tags:

views:

58

answers:

0

I'm tries to write my own window manager in working with xlib/X11. I have some trouble. To achieve some goals i decided to grab mouse pointer and filter mouse events.

I have used XGrabPointer to redirect all mouse messages to my application, but there's a trouble - I can't obtain XID to window, which should retreive message. Additionally, I don't be sure, that I correct fill xevent structure.