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: Juri Linkov
Subject: bug#10165: [PATCH] Allow setting corner in mouse avoidance mode.
Date: Wed, 07 Dec 2011 21:52:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu)

>>   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'?





reply via email to

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