all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Mouse click vs drag
@ 2020-09-22 15:57 Petteri Hintsanen
  2020-09-22 16:24 ` Stefan Monnier
  2020-09-22 16:38 ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Petteri Hintsanen @ 2020-09-22 15:57 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have a high resolution ("4K") display and I’m struggling with mouse
clicks.  They seem to get mixed up with mouse drag events.  If I
understand mouse click logic correctly, button press + button release
events generate a click event only when the cursor is at the same screen
location during press and release.  Otherwise it is a drag event.

Clicks are difficult to achieve with hires display, because the mouse
cursor tends to move a couple of pixels or so when pressing and
releasing mouse buttons.  Eg. in Customize buffers it is difficult to
push "Apply" or "Apply and Save" buttons.

Is there some kind of fuzziness parameter to tune, like
double-click-fuzz?  Would it make sense to have one?

Thanks,
Petteri




^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Mouse click vs drag
@ 2020-09-23  8:09 Anders Munch
  0 siblings, 0 replies; 8+ messages in thread
From: Anders Munch @ 2020-09-23  8:09 UTC (permalink / raw)
  To: Petteri Hintsanen, help-gnu-emacs@gnu.org

Petteri Hintsanen WROTE:
> Clicks are difficult to achieve with hires display, because the mouse cursor
> tends to move a couple of pixels or so when pressing and releasing mouse
> buttons.

May I suggest you try a trackball instead of a mouse?

A trackball lets you to do movement and clicking as separate actions: First you
move the cursor into position with the ball, then you let go of the ball
completely and click. This way, you are completely free from click-induced
jitter.

regards, Anders

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-23  8:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22 15:57 Mouse click vs drag Petteri Hintsanen
2020-09-22 16:24 ` Stefan Monnier
2020-09-22 17:07   ` Eli Zaretskii
2020-09-22 16:38 ` Eli Zaretskii
2020-09-22 17:08   ` Petteri Hintsanen
2020-09-22 17:12     ` Eli Zaretskii
2020-09-22 17:50       ` Petteri Hintsanen
  -- strict thread matches above, loose matches on Subject: below --
2020-09-23  8:09 Anders Munch

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.