On 03/11/2011 09:11 PM, Axel Wagner wrote:
> Moin,
> 
> if no -m option is given to dmenu, it infers it's xinerama-screen from
> the mouse-position. On heavily keyboard-driven window-managers, the
> mouse-position differs heavily from where the attention is sometimes (I
> personally hate mouse-follows-focus, so when I change the focus via
> keyboard to another screen, the pointer remains at it's position), thus
> creating a somewhat unsetting experience, when dmenu suddenly appears on
> the „wrong“ screen.
> With the attached patch, -m can (additionaly to taking a number) also
> takes „focus“ and „mouse“ as options. The latter represents the current
> default behaviour, the former uses the center of the window which
> currently has the input-focus to determine the screen.
> 
> Greetings,
> 
> Mero

Thanks for this patch! I'm annoyed of this mouse-focus behavior for some
time, but never got down to change it.

Pascal

Reply via email to