Re: How can I catch all mouse events?j

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 02, 2008 at 09:36:40PM -0400, Benjamin M. Schwartz wrote:
> Beautiful!  I tried running an Async XGrabButton on the root window, and
> it works.  However, despite being in Async mode, the mouse button presses
> never reach the underlying window.  I can't click on anything until I kill
> my program, because it's absorbing all the button presses.  What am I
> doing wrong?  How do I allow the button press event to continue propagating?

GrabModeSync on the grab, and then XAllowEvents with ReplayPointer.

async just means that the server continues processing events rather than
freezing the device. 

Cheers,
  Peter
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux