unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Petteri Hintsanen <petterih@iki.fi>
To: help-gnu-emacs@gnu.org
Subject: Mouse click vs drag
Date: Tue, 22 Sep 2020 18:57:36 +0300	[thread overview]
Message-ID: <87pn6dhki7.fsf@iki.fi> (raw)

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




             reply	other threads:[~2020-09-22 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 15:57 Petteri Hintsanen [this message]
2020-09-22 16:24 ` Mouse click vs drag 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn6dhki7.fsf@iki.fi \
    --to=petterih@iki.fi \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).