Xevent ButtonReleaseMask in Xlib not working?
Hi,
I cant get the event for releasing mouse button (num 5) to work. Entering window (num 7) works and but I get nothing clicking the mouse buttons. I wrote this small program to test. What am I missing? Code:
#include <stdio.h> |
This is really irritating. I have been sitting all day to find this bug in my main program. And now i added ButtonPressMask and then it works. Totally illogical.
XSelectInput(d, w, ButtonPressMask|ButtonReleaseMask|EnterWindowMask ); Not even my mistake but a bug in Xlib. |
All times are GMT -5. The time now is 02:05 PM. |