Subject: bug#10165: [PATCH] Allow setting corner in mouse avoidance mode.

From: Thierry Volpiatto <[email-masked]>
Date: Thu, 08 Dec 2011 07:33:07 +0100

Juri Linkov <[email-masked]> writes:

>>>   x-side     `left' or `right'
>>>   y-side     `top' or `bottom'
>>>   x-offset   integer (positive, negative or zero)
>>>   y-offset   integer (positive, negative or zero)
>>
>> Note that the code I wrote don't require negative arguments.
>> You just set the distance from one edge with a positive argument,
>> doesn't matter if it is right, left top or bottom.
>
> Sorry, I don't understand.  Could you please demonstrate how it would be
> possible to represent the following setting:
>
>   (defun mouse-avoidance-banish-destination ()
>     (cons (+ 3 (frame-width)) (- (frame-height) 1)))
>
> with only positive integer values in `mouse-avoidance-banish-position'?

Yes you are right, sorry, need to use negative values for such setting.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997