GNU bug report logs -
#16647
Imprecisions with window-resizing cursors
Previous Next
Full log
View this message in rfc822 format
martin rudalics <rudalics <at> gmx.at> writes:
> (1) Check whether setting the right-divider frame parameter to 1 suffers
> from the same problem.
No change.
> (2) Try putting `coordinates-in-window-p' in a loop where you simulate
> (by incrementing the car of the first argument) the course of the
> mouse and display the return value via a message.
>
> (3) In window.c DEFVAR_LISP a new variable, in coordinates_in_window set
> that variable to the value coordinates_in_window is about to return,
> display the value of that variable in the modeline, and then move
> the mouse to find out what it reports.
>
(progn
(scroll-bar-mode -1)
(require 'cl-lib)
(run-with-timer 0 0.1
(lambda ()
(let ((win-list (window-list))
(func (apply-partially
'coordinates-in-window-p
(cdr (mouse-position)))))
(message "%s" (cl-find-if func win-list))))))
I've tried the snippet above. There where imprecisions, but shouldn't that be expected, given `coordinates-in-window-p' returns characters and not pixels? Should I try something similar with `track-mouse' and pixels?
Evgeni
This bug report was last modified 10 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.