bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thierry Volpiatto
Subject: bug#10165: [PATCH] Allow setting corner in mouse avoidance mode.
Date: Thu, 08 Dec 2011 07:33:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Juri Linkov <juri@jurta.org> 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 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]