unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eijiro Sumii <sumii@ecei.tohoku.ac.jp>
Cc: 36779@debbugs.gnu.org
Subject: bug#36779: 25.1; mouse click not recognized for frames with large left position
Date: Mon, 29 Jul 2019 17:16:27 +0200	[thread overview]
Message-ID: <c65b29a2-c9f6-95b6-420d-f03ea7274629@gmx.at> (raw)
In-Reply-To: <CAB0_SiYiJ+p-Mau3rDqcG2ARt3rVCyOM5iKYkKsoyTPEBNe=DQ@mail.gmail.com>

 > Additionally, I noticed that the *shape* of the mouse cursor changes
 > correctly in accordance with the contents of the window frame at the
 > mouse position; however, no click is recognized *except for* some
 > "shallow" part of the menu.

Can you mark text with the mouse?  Does the bug happen only when the
entire frame is positioned to the right of 3840 or do you see it with
a frame starting before 3840 but extending to the right of the display
as well?

If you want to debug mouse clicks it should suffice to set a break
point with gdb at the top of the body below the lines

     case ButtonRelease:
     case ButtonPress:

of xterm.c (in Emacs 25 they are at line 8499 here) and look whether
it triggers.  If it triggers, then the call of x_window_to_frame in

         f = (x_mouse_grabbed (dpyinfo) ? dpyinfo->last_mouse_frame
	     : x_window_to_frame (dpyinfo, event->xbutton.window));

should give us some preliminary information.

martin





  reply	other threads:[~2019-07-29 15:16 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  4:18 bug#36779: 25.1; mouse click not recognized for frames with large left position Eijiro Sumii
2019-07-24 14:29 ` Eli Zaretskii
2019-07-25  4:32   ` Eijiro Sumii
2019-07-25 12:49     ` Eli Zaretskii
2019-07-25 14:13       ` Eijiro Sumii
2019-07-27  1:05         ` Eijiro Sumii
2019-07-27  6:52           ` martin rudalics
2019-07-29  9:20             ` Eijiro Sumii
2019-07-29 15:16               ` martin rudalics [this message]
2019-07-30  4:30                 ` Eijiro Sumii
2019-07-30  7:01                   ` martin rudalics
2019-07-30 12:01                     ` Eijiro Sumii
2019-07-30 14:45                       ` Eli Zaretskii
2019-07-30 15:21                       ` Robert Pluim
2019-07-30 21:27                         ` Eijiro Sumii
2019-08-01  1:27                           ` Eijiro Sumii
2019-07-31  9:12                       ` martin rudalics
2019-07-31  9:38                         ` Eijiro Sumii
2019-08-07  3:07                   ` Eijiro Sumii
2019-08-07 12:04                     ` martin rudalics
2019-08-13  9:09                       ` Eijiro Sumii
2019-08-13 14:26                         ` Eli Zaretskii
2019-08-14  2:11                           ` Eijiro Sumii
2019-08-14  8:59                             ` martin rudalics
2019-08-14 10:01                               ` Eijiro Sumii
2019-08-15  8:11                                 ` martin rudalics
2019-08-15 15:07                                   ` Eli Zaretskii
2019-08-16  7:33                                     ` Eijiro Sumii
2019-08-16  8:20                                       ` Eli Zaretskii
2019-08-16  8:43                                         ` Eijiro Sumii
2019-08-16 12:49                                           ` Eli Zaretskii
2019-08-16 13:03                                             ` Eijiro Sumii
2019-08-16 14:09                                               ` Eli Zaretskii
2019-08-16 21:09                                                 ` Eijiro Sumii
2019-08-17  6:23                                                   ` Eli Zaretskii
2019-08-17  7:37                                                     ` Eijiro Sumii
2020-08-26  0:15                                   ` Stefan Kangas
2020-08-26  6:10                                     ` Eli Zaretskii
2020-08-26  6:19                                       ` Eijiro Sumii
2020-08-26  6:35                                         ` Eli Zaretskii
2020-08-26  7:40                                           ` Eijiro Sumii
2020-08-26  8:00                                             ` Eli Zaretskii
2020-08-27  9:36                                       ` Stefan Kangas
2020-08-27  9:45                                         ` Eli Zaretskii
2020-08-27 10:08                                           ` Stefan Kangas

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=c65b29a2-c9f6-95b6-420d-f03ea7274629@gmx.at \
    --to=rudalics@gmx.at \
    --cc=36779@debbugs.gnu.org \
    --cc=sumii@ecei.tohoku.ac.jp \
    /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.
Code repositories for project(s) associated with this public inbox

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

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).