disable mouse reporting briefly on window focus
mp26 at os.inf.tu-dresden.de
Wed Apr 11 20:16:14 CEST 2012
On 11.04.2012 16:42, Patrick Hemmer wrote:
> I'm trying to disable mouse reporting for a brief period when the urxvt
> window is focused. This is so that if I'm running vim with mouse
> support, and I click the window to focus it, the vim cursor wont move.
I would approach this via one of the two alternatives:
* Your window manager might allow you to configure whether the click
event that gives focus will also be reported to the applications
(IIRC, kwin has a setting for this).
* I always use Super+Click (often also ALT works) to give focus to
programs without forwarding the event to the program itself. Super
being the key that I use for many window operations with the mouse
(move, resize etc.).
More information about the rxvt-unicode