Thierry Volpiatto writes: > I will try to rework my patch then. I use only one user variable now: --8<---------------cut here---------------start------------->8--- (defcustom mouse-avoidance-banish-position '((frame-or-window . frame) (side . right) (side-pos . 3) (top-or-bottom . top) (top-or-bottom-pos . 0)) --8<---------------cut here---------------end--------------->8--- Which allow to set also the vertical position (top-or-bottom-pos). See attached patch.