Re: Issue 225 in xmonad: Ability to send synthetic mouse events to windows

Comment #3 on issue 225 by scuz.there: Ability to send synthetic mouse events to windows http://code.google.com/p/xmonad/issues/detail?id=225 Is there any way to do this? I tried figuring it out a while back and couldn't get it to work. Would be really nice as then you could possibly change the focus-click-eating behavior as well.

Comment #4 on issue 225 by allbery.b: Ability to send synthetic mouse events to windows http://code.google.com/p/xmonad/issues/detail?id=225 Keep in mind that many programs ignore synthetic events for security reasons.

Comment #5 on issue 225 by scuz.there: Ability to send synthetic mouse events to windows http://code.google.com/p/xmonad/issues/detail?id=225 Is there a way to not have XMonad eat the focus click? Other window managers have this behavior so I assume they don't need to use synthetic events. Does anybody know if this is a limitation by the design of XMonad? Loosing the click when I focus a window drives me insane. I've spent hours pouring over the code so its likely not a simple feature so I could really use some assistance from somebody familiar with Haskell and X.

Comment #6 on issue 225 by jamslam: Ability to send synthetic mouse events to windows http://code.google.com/p/xmonad/issues/detail?id=225 Synthetic events are not required for this. There needs to be a call to 'allowEvents' to "replay" the pointer event. A patch (that works) for this was submitted some time ago, but for some reason that I could not find, it was rejected. Here it is: http://www.haskell.org/pipermail/xmonad/2008-June/005807.html The relevant information about replaying events: http://tronche.com/gui/x/xlib/input/XAllowEvents.html

Updates: Cc: nome...@gmail.com Comment #7 on issue 225 by wirtwo...@gmail.com: Ability to send synthetic mouse events to windows http://code.google.com/p/xmonad/issues/detail?id=225 Issue 175 has been merged into this issue.
participants (1)
-
codesite-noreply@google.com