Re: [dev] [PATCH] dmenu: Add commandline-options to determine Xinerama-screen

From: Pascal Wittmann <>
Date: Sat, 12 Mar 2011 18:45:44 +0100

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.

Received on Sat Mar 12 2011 - 18:45:44 CET

This archive was generated by hypermail 2.2.0 : Sat Mar 12 2011 - 18:48:02 CET