From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eijiro Sumii Newsgroups: gmane.emacs.bugs Subject: bug#36779: 25.1; mouse click not recognized for frames with large left position Date: Tue, 30 Jul 2019 13:30:00 +0900 Message-ID: References: <87h87c2hhg.fsf@LAPTOP-0TO7HGG8.localdomain> <8336ivpkt5.fsf@gnu.org> <83o91inuse.fsf@gnu.org> <6b7c63b2-9b69-6955-1e4b-82b86c088da6@gmx.at> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000009d3c8058ede7d66" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="53299"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eijiro Sumii , 36779@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 06:33:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsJp2-000DgV-6K for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 06:33:12 +0200 Original-Received: from localhost ([::1]:57900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsJp0-0004kg-Oa for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 00:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39162) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsJou-0004ka-AY for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 00:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsJor-00024x-TS for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 00:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsJor-00024t-QW for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 00:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsJor-0007QM-LI for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 00:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eijiro Sumii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 04:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36779 X-GNU-PR-Package: emacs Original-Received: via spool by 36779-submit@debbugs.gnu.org id=B36779.156446112228443 (code B ref 36779); Tue, 30 Jul 2019 04:33:01 +0000 Original-Received: (at 36779) by debbugs.gnu.org; 30 Jul 2019 04:32:02 +0000 Original-Received: from localhost ([127.0.0.1]:49404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsJnt-0007OO-SW for submit@debbugs.gnu.org; Tue, 30 Jul 2019 00:32:02 -0400 Original-Received: from eimail.ecei.tohoku.ac.jp ([130.34.41.153]:49440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsJnr-0007OB-3l for 36779@debbugs.gnu.org; Tue, 30 Jul 2019 00:32:00 -0400 Original-Received: from eimail.ecei.tohoku.ac.jp (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id AF5102BAF9 for <36779@debbugs.gnu.org>; Tue, 30 Jul 2019 13:31:56 +0900 (JST) Original-Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by eimail.ecei.tohoku.ac.jp (Postfix) with ESMTPSA id 3BC102BAF5 for <36779@debbugs.gnu.org>; Tue, 30 Jul 2019 13:31:56 +0900 (JST) Original-Received: by mail-io1-f52.google.com with SMTP id e20so94746542iob.9 for <36779@debbugs.gnu.org>; Mon, 29 Jul 2019 21:31:56 -0700 (PDT) X-Gm-Message-State: APjAAAVElVaUUi+kk2H98AesSuVRi8EXdn4lfr5NIFR0KlMbKlKmai5O B8fjBYr2m1DacLSBNXz4aDWxPklneAxNJghXYYE= X-Google-Smtp-Source: APXvYqw/p0KT2rkxcldTzCCKtg5rKyxk9tuCtjJLoNH47zNJO9M9zQJmf4JQhkKLhnehBLwdBimAZSKR7ygbf3aUGeE= X-Received: by 2002:a5d:8ccc:: with SMTP id k12mr22518869iot.141.1564461115231; Mon, 29 Jul 2019 21:31:55 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-TM-AS-MML: disable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164089 Archived-At: --00000000000009d3c8058ede7d66 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 30, 2019 at 12:16 AM martin rudalics wrote: > Can you mark text with the mouse? No, I cannot. > Does the bug happen only when the > entire frame is positioned to the right of 3840 Yes, that's the case. > or do you see it with > a frame starting before 3840 but extending to the right of the display > as well? This situation does *not* exhibit the bug. > 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. Thanks! I built both Emacs 25.1 and 26.2 (latest release) from the sources, and confirmed that *both* exhibits the same problem in my environment. I run gdb for the latter (Emacs 26.2) and the values of *dpyinfo and event->xbutton at that code point (line 8848) are: When the problem occurs: (gdb) p *dpyinfo $5 = {next = 0x0, terminal = 0x2c955d0, display = 0x2cae000, connection = 5, name_list_element = 19285939, reference_count = 1, screen = 0x2cac5b0, resx = 144, resy = 144, visual = 0x2cac640, cmap = 32, n_planes = 24, grabbed = 0, icon_bitmap_id = -2, root_window = 51, client_leader_window = 0, vertical_scroll_bar_cursor = 25165834, horizontal_scroll_bar_cursor = 25165838, invisible_cursor = 25165843, toggle_visible_pointer = 0x4becb0 , xg_cursor = 0x2dfbcc0, xrdb = 0x2e068f0, smallest_char_width = 13, smallest_font_height = 25, scratch_cursor_gc = 0x34752e0, mouse_highlight = {mouse_face_beg_row = -1, mouse_face_beg_col = -1, mouse_face_beg_x = 0, mouse_face_end_row = -1, mouse_face_end_col = -1, mouse_face_end_x = 0, mouse_face_window = 0, mouse_face_face_id = 0, mouse_face_overlay = 0, mouse_face_mouse_frame = 0x1385c30 , mouse_face_mouse_x = 475, mouse_face_mouse_y = 151, mouse_face_past_end = false, mouse_face_defer = false, mouse_face_hidden = false}, x_id = 1, x_id_name = 0x2c34510 "emacs@LAPTOP-0TO7HGG8", n_fonts = 4, bitmaps = 0x0, bitmaps_size = 0, bitmaps_last = 0, meta_mod_mask = 8, shift_lock_mask = 0, alt_mod_mask = 0, super_mod_mask = 0, hyper_mod_mask = 0, Xatom_wm_protocols = 125, Xatom_wm_take_focus = 127, Xatom_wm_save_yourself = 300, Xatom_wm_delete_window = 126, Xatom_wm_change_state = 123, Xatom_wm_configure_denied = 301, Xatom_wm_window_moved = 302, Xatom_wm_client_leader = 178, Xatom_editres = 303, Xatom_CLIPBOARD = 133, Xatom_TIMESTAMP = 304, Xatom_TEXT = 129, Xatom_DELETE = 305, Xatom_COMPOUND_TEXT = 128, Xatom_UTF8_STRING = 135, Xatom_MULTIPLE = 306, Xatom_INCR = 307, Xatom_EMACS_TMP = 308, Xatom_TARGETS = 132, Xatom_NULL = 309, Xatom_ATOM = 4, Xatom_ATOM_PAIR = 310, Xatom_CLIPBOARD_MANAGER = 311, Xatom_PIXEL_SIZE = 94, Xatom_AVERAGE_WIDTH = 98, Xatom_MULE_BASELINE_OFFSET = 313, Xatom_MULE_RELATIVE_COMPOSE = 314, Xatom_MULE_DEFAULT_ASCENT = 315, Xatom_DONE = 316, Xatom_PAGE = 317, Xatom_Scrollbar = 318, Xatom_Horizontal_Scrollbar = 319, Xatom_XEMBED = 320, Xatom_XEMBED_INFO = 312, x_focus_frame = 0x1385c30 , x_focus_event_frame = 0x1385c30 , x_highlight_frame = 0x1385c30 , x_pending_autoraise_frame = 0x0, last_mouse_frame = 0x0, last_mouse_glyph_frame = 0x0, last_mouse_motion_frame = 0x1385c30 , last_mouse_scroll_bar = 0x0, last_user_time = 1091249789, last_mouse_motion_x = 475, last_mouse_motion_y = 170, last_mouse_glyph = {x = 463, y = 150, width = 13, height = 25}, last_mouse_movement_time = 1091249693, gray = 25165839, xim = 0x2e445a0, xim_styles = 0x2cbb770, xim_callback_data = 0x2e39040, color_names = 0x2df2920, color_cells = 0x0, ncolor_cells = 0, red_bits = 8, blue_bits = 8, green_bits = 8, red_offset = 16, blue_offset = 0, green_offset = 8, wm_type = X_WMTYPE_UNKNOWN, x_dnd_atoms = 0x2e85520, x_dnd_atoms_size = 8, x_dnd_atoms_length = 6, Xatom_net_supported = 321, Xatom_net_supporting_wm_check = 322, net_supported_atoms = 0x0, nr_net_supported_atoms = 0, net_supported_window = 0, Xatom_net_window_type = 279, Xatom_net_window_type_tooltip = 287, Xatom_net_active_window = 256, Xatom_net_wm_state = 266, Xatom_net_wm_state_fullscreen = 269, Xatom_net_wm_state_maximized_horz = 273, Xatom_net_wm_state_maximized_vert = 272, Xatom_net_wm_state_sticky = 276, Xatom_net_wm_state_above = 267, Xatom_net_wm_state_below = 268, Xatom_net_wm_state_hidden = 270, Xatom_net_wm_state_skip_taskbar = 274, Xatom_net_frame_extents = 258, Xatom_net_current_desktop = 257, Xatom_net_workarea = 324, Xatom_xsettings_sel = 295, Xatom_xsettings_prop = 326, Xatom_xsettings_mgr = 327, xsettings_window = 0, Xatom_net_wm_name = 263, Xatom_net_wm_icon_name = 262, Xatom_net_wm_window_opacity = 323, Xatom_SM_CLIENT_ID = 325, xrandr_major_version = 0, xrandr_minor_version = 0, xcb_connection = 0x2caf250, supports_xdbe = false} (gdb) p event->xbutton $6 = {type = 4, serial = 5265, send_event = 0, display = 0x2cae000, window = 25166151, root = 51, subwindow = 0, time = 1091249789, x = 475, y = 170, x_root = 4326, y_root = 281, state = 0, button = 1, same_screen = 1} When no problem occurs: (gdb) p event->xbutton $8 = {next = 0x0, terminal = 0x2c955d0, display = 0x2cae000, connection = 5, name_list_element = 19285939, reference_count = 1, screen = 0x2cac5b0, resx = 144, resy = 144, visual = 0x2cac640, cmap = 32, n_planes = 24, grabbed = 0, icon_bitmap_id = -2, root_window = 51, client_leader_window = 0, vertical_scroll_bar_cursor = 25165834, horizontal_scroll_bar_cursor = 25165838, invisible_cursor = 25165843, toggle_visible_pointer = 0x4becb0 , xg_cursor = 0x2dfbcc0, xrdb = 0x2e068f0, smallest_char_width = 13, smallest_font_height = 25, scratch_cursor_gc = 0x34752e0, mouse_highlight = {mouse_face_beg_row = -1, mouse_face_beg_col = -1, mouse_face_beg_x = 0, mouse_face_end_row = -1, mouse_face_end_col = -1, mouse_face_end_x = 0, mouse_face_window = 0, mouse_face_face_id = 0, mouse_face_overlay = 0, mouse_face_mouse_frame = 0x1385c30 , mouse_face_mouse_x = 541, mouse_face_mouse_y = 118, mouse_face_past_end = false, mouse_face_defer = false, mouse_face_hidden = false}, x_id = 1, x_id_name = 0x2c34510 "emacs@LAPTOP-0TO7HGG8", n_fonts = 4, bitmaps = 0x0, bitmaps_size = 0, bitmaps_last = 0, meta_mod_mask = 8, shift_lock_mask = 0, alt_mod_mask = 0, super_mod_mask = 0, hyper_mod_mask = 0, Xatom_wm_protocols = 125, Xatom_wm_take_focus = 127, Xatom_wm_save_yourself = 300, Xatom_wm_delete_window = 126, Xatom_wm_change_state = 123, Xatom_wm_configure_denied = 301, Xatom_wm_window_moved = 302, Xatom_wm_client_leader = 178, Xatom_editres = 303, Xatom_CLIPBOARD = 133, Xatom_TIMESTAMP = 304, Xatom_TEXT = 129, Xatom_DELETE = 305, Xatom_COMPOUND_TEXT = 128, Xatom_UTF8_STRING = 135, Xatom_MULTIPLE = 306, Xatom_INCR = 307, Xatom_EMACS_TMP = 308, Xatom_TARGETS = 132, Xatom_NULL = 309, Xatom_ATOM = 4, Xatom_ATOM_PAIR = 310, Xatom_CLIPBOARD_MANAGER = 311, Xatom_PIXEL_SIZE = 94, Xatom_AVERAGE_WIDTH = 98, Xatom_MULE_BASELINE_OFFSET = 313, Xatom_MULE_RELATIVE_COMPOSE = 314, Xatom_MULE_DEFAULT_ASCENT = 315, Xatom_DONE = 316, Xatom_PAGE = 317, Xatom_Scrollbar = 318, Xatom_Horizontal_Scrollbar = 319, Xatom_XEMBED = 320, Xatom_XEMBED_INFO = 312, x_focus_frame = 0x1385c30 , x_focus_event_frame = 0x1385c30 , x_highlight_frame = 0x1385c30 , x_pending_autoraise_frame = 0x0, last_mouse_frame = 0x0, last_mouse_glyph_frame = 0x0, last_mouse_motion_frame = 0x1385c30 , last_mouse_scroll_bar = 0x0, last_user_time = 1091390837, last_mouse_motion_x = 546, last_mouse_motion_y = 118, last_mouse_glyph = {x = 541, y = 100, width = 13, height = 25}, last_mouse_movement_time = 1091389269, gray = 25165839, xim = 0x2e445a0, xim_styles = 0x2cbb770, xim_callback_data = 0x2e39040, color_names = 0x2df2920, color_cells = 0x0, ncolor_cells = 0, red_bits = 8, blue_bits = 8, green_bits = 8, red_offset = 16, blue_offset = 0, green_offset = 8, wm_type = X_WMTYPE_UNKNOWN, x_dnd_atoms = 0x2e85520, x_dnd_atoms_size = 8, x_dnd_atoms_length = 6, Xatom_net_supported = 321, Xatom_net_supporting_wm_check = 322, net_supported_atoms = 0x0, nr_net_supported_atoms = 0, net_supported_window = 0, Xatom_net_window_type = 279, Xatom_net_window_type_tooltip = 287, Xatom_net_active_window = 256, Xatom_net_wm_state = 266, Xatom_net_wm_state_fullscreen = 269, Xatom_net_wm_state_maximized_horz = 273, Xatom_net_wm_state_maximized_vert = 272, Xatom_net_wm_state_sticky = 276, Xatom_net_wm_state_above = 267, Xatom_net_wm_state_below = 268, Xatom_net_wm_state_hidden = 270, Xatom_net_wm_state_skip_taskbar = 274, Xatom_net_frame_extents = 258, Xatom_net_current_desktop = 257, Xatom_net_workarea = 324, Xatom_xsettings_sel = 295, Xatom_xsettings_prop = 326, Xatom_xsettings_mgr = 327, xsettings_window = 0, Xatom_net_wm_name = 263, Xatom_net_wm_icon_name = 262, Xatom_net_wm_window_opacity = 323, Xatom_SM_CLIENT_ID = 325, xrandr_major_version = 0, xrandr_minor_version = 0, xcb_connection = 0x2caf250, supports_xdbe = false} $9 = {type = 4, serial = 9839, send_event = 0, display = 0x2cae000, window = 25166151, root = 51, subwindow = 0, time = 1091390837, x = 546, y = 118, x_root = 2467, y_root = 229, state = 0, button = 1, same_screen = 1} I haven't yet pursued further executions (I need to sit in front of the second, 60-inch 4K display for this!), but will do (so, advice is welcome!). Eijiro --00000000000009d3c8058ede7d66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 30, 2019 at 12:16 AM martin rudalics <rudalics@gmx.at> wrote:
> Can yo= u mark text with the mouse?

No, I cannot.

> Does the bug h= appen only when the
> entire frame is positioned to the right of= 3840

Yes, that's the case.

=
> or do you see it with
> a frame starting before 384= 0 but extending to the right of the display
> as well?

This si= tuation does *not* exhibit the bug.

> If you want to debug mouse = clicks it should suffice to set a break
> point with gdb at the top o= f the body below the lines
>
> =C2=A0 =C2=A0 =C2=A0case ButtonR= elease:
> =C2=A0 =C2=A0 =C2=A0case ButtonPress:
>
> of xt= erm.c (in Emacs 25 they are at line 8499 here) and look whether
> it = triggers.=C2=A0 If it triggers, then the call of x_window_to_frame in
&g= t;
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0f =3D (x_mouse_grabbed (dpyinf= o) ? dpyinfo->last_mouse_frame
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0: x_window_to_frame (dpyinfo, event->xbutton.window));<= br>>
> should give us some preliminary information.

Th= anks!=C2=A0 I built both Emacs 25.1 and 26.2 (latest release) from the sour= ces, and confirmed that *both* exhibits the same problem in my environment.=
I run gdb for the latter (Emacs 26.2) and the values of *dpyinfo= and event->xbutton at that code point (line 8848) are:

When th= e problem occurs:

(gdb) p *dpyinfo
$5 =3D {next =3D 0x0, terminal= =3D 0x2c955d0, display =3D 0x2cae000, connection =3D 5, name_list_element = =3D 19285939, reference_count =3D 1, screen =3D 0x2cac5b0,
=C2=A0 resx = =3D 144, resy =3D 144, visual =3D 0x2cac640, cmap =3D 32, n_planes =3D 24, = grabbed =3D 0, icon_bitmap_id =3D -2, root_window =3D 51, client_leader_win= dow =3D 0,
=C2=A0 vertical_scroll_bar_cursor =3D 25165834, horizontal_sc= roll_bar_cursor =3D 25165838, invisible_cursor =3D 25165843,
=C2=A0 togg= le_visible_pointer =3D 0x4becb0 <x_toggle_visible_pointer>, xg_cursor= =3D 0x2dfbcc0, xrdb =3D 0x2e068f0, smallest_char_width =3D 13,
=C2=A0 s= mallest_font_height =3D 25, scratch_cursor_gc =3D 0x34752e0, mouse_highligh= t =3D {mouse_face_beg_row =3D -1, mouse_face_beg_col =3D -1, mouse_face_beg= _x =3D 0,
=C2=A0 =C2=A0 mouse_face_end_row =3D -1, mouse_face_end_col = =3D -1, mouse_face_end_x =3D 0, mouse_face_window =3D 0, mouse_face_face_id= =3D 0, mouse_face_overlay =3D 0,
=C2=A0 =C2=A0 mouse_face_mouse_frame = =3D 0x1385c30 <bss_sbrk_buffer+7883952>, mouse_face_mouse_x =3D 475, = mouse_face_mouse_y =3D 151, mouse_face_past_end =3D false,
=C2=A0 =C2=A0= mouse_face_defer =3D false, mouse_face_hidden =3D false}, x_id =3D 1, x_id= _name =3D 0x2c34510 "emacs@LAPTOP-0TO7HGG8", n_fonts =3D 4, bitma= ps =3D 0x0,
=C2=A0 bitmaps_size =3D 0, bitmaps_last =3D 0, meta_mod_mask= =3D 8, shift_lock_mask =3D 0, alt_mod_mask =3D 0, super_mod_mask =3D 0, hy= per_mod_mask =3D 0,
=C2=A0 Xatom_wm_protocols =3D 125, Xatom_wm_take_foc= us =3D 127, Xatom_wm_save_yourself =3D 300, Xatom_wm_delete_window =3D 126,= Xatom_wm_change_state =3D 123,
=C2=A0 Xatom_wm_configure_denied =3D 301= , Xatom_wm_window_moved =3D 302, Xatom_wm_client_leader =3D 178, Xatom_edit= res =3D 303, Xatom_CLIPBOARD =3D 133,
=C2=A0 Xatom_TIMESTAMP =3D 304, Xa= tom_TEXT =3D 129, Xatom_DELETE =3D 305, Xatom_COMPOUND_TEXT =3D 128, Xatom_= UTF8_STRING =3D 135, Xatom_MULTIPLE =3D 306,
=C2=A0 Xatom_INCR =3D 307, = Xatom_EMACS_TMP =3D 308, Xatom_TARGETS =3D 132, Xatom_NULL =3D 309, Xatom_A= TOM =3D 4, Xatom_ATOM_PAIR =3D 310, Xatom_CLIPBOARD_MANAGER =3D 311,
=C2= =A0 Xatom_PIXEL_SIZE =3D 94, Xatom_AVERAGE_WIDTH =3D 98, Xatom_MULE_BASELIN= E_OFFSET =3D 313, Xatom_MULE_RELATIVE_COMPOSE =3D 314, Xatom_MULE_DEFAULT_A= SCENT =3D 315,
=C2=A0 Xatom_DONE =3D 316, Xatom_PAGE =3D 317, Xatom_Scro= llbar =3D 318, Xatom_Horizontal_Scrollbar =3D 319, Xatom_XEMBED =3D 320, Xa= tom_XEMBED_INFO =3D 312,
=C2=A0 x_focus_frame =3D 0x1385c30 <bss_sbrk= _buffer+7883952>, x_focus_event_frame =3D 0x1385c30 <bss_sbrk_buffer+= 7883952>,
=C2=A0 x_highlight_frame =3D 0x1385c30 <bss_sbrk_buffer+= 7883952>, x_pending_autoraise_frame =3D 0x0, last_mouse_frame =3D 0x0, l= ast_mouse_glyph_frame =3D 0x0,
=C2=A0 last_mouse_motion_frame =3D 0x1385= c30 <bss_sbrk_buffer+7883952>, last_mouse_scroll_bar =3D 0x0, last_us= er_time =3D 1091249789, last_mouse_motion_x =3D 475,
=C2=A0 last_mouse_m= otion_y =3D 170, last_mouse_glyph =3D {x =3D 463, y =3D 150, width =3D 13, = height =3D 25}, last_mouse_movement_time =3D 1091249693, gray =3D 25165839,=
=C2=A0 xim =3D 0x2e445a0, xim_styles =3D 0x2cbb770, xim_callback_data = =3D 0x2e39040, color_names =3D 0x2df2920, color_cells =3D 0x0, ncolor_cells= =3D 0, red_bits =3D 8,
=C2=A0 blue_bits =3D 8, green_bits =3D 8, red_of= fset =3D 16, blue_offset =3D 0, green_offset =3D 8, wm_type =3D X_WMTYPE_UN= KNOWN, x_dnd_atoms =3D 0x2e85520,
=C2=A0 x_dnd_atoms_size =3D 8, x_dnd_a= toms_length =3D 6, Xatom_net_supported =3D 321, Xatom_net_supporting_wm_che= ck =3D 322, net_supported_atoms =3D 0x0,
=C2=A0 nr_net_supported_atoms = =3D 0, net_supported_window =3D 0, Xatom_net_window_type =3D 279, Xatom_net= _window_type_tooltip =3D 287, Xatom_net_active_window =3D 256,
=C2=A0 Xa= tom_net_wm_state =3D 266, Xatom_net_wm_state_fullscreen =3D 269, Xatom_net_= wm_state_maximized_horz =3D 273, Xatom_net_wm_state_maximized_vert =3D 272,=
=C2=A0 Xatom_net_wm_state_sticky =3D 276, Xatom_net_wm_state_above =3D = 267, Xatom_net_wm_state_below =3D 268, Xatom_net_wm_state_hidden =3D 270,=C2=A0 Xatom_net_wm_state_skip_taskbar =3D 274, Xatom_net_frame_extents = =3D 258, Xatom_net_current_desktop =3D 257, Xatom_net_workarea =3D 324,
= =C2=A0 Xatom_xsettings_sel =3D 295, Xatom_xsettings_prop =3D 326, Xatom_xse= ttings_mgr =3D 327, xsettings_window =3D 0, Xatom_net_wm_name =3D 263,
= =C2=A0 Xatom_net_wm_icon_name =3D 262, Xatom_net_wm_window_opacity =3D 323,= Xatom_SM_CLIENT_ID =3D 325, xrandr_major_version =3D 0, xrandr_minor_versi= on =3D 0,
=C2=A0 xcb_connection =3D 0x2caf250, supports_xdbe =3D false}<= br>(gdb) p event->xbutton
$6 =3D {type =3D 4, serial =3D 5265, send_e= vent =3D 0, display =3D 0x2cae000, window =3D 25166151, root =3D 51, subwin= dow =3D 0, time =3D 1091249789, x =3D 475, y =3D 170,
=C2=A0 x_root =3D = 4326, y_root =3D 281, state =3D 0, button =3D 1, same_screen =3D 1}

= When no problem occurs:

(gdb) p event->xbutton
$8 =3D {next = =3D 0x0, terminal =3D 0x2c955d0, display =3D 0x2cae000, connection =3D 5, n= ame_list_element =3D 19285939, reference_count =3D 1, screen =3D 0x2cac5b0,=
=C2=A0 resx =3D 144, resy =3D 144, visual =3D 0x2cac640, cmap =3D 32, n= _planes =3D 24, grabbed =3D 0, icon_bitmap_id =3D -2, root_window =3D 51, c= lient_leader_window =3D 0,
=C2=A0 vertical_scroll_bar_cursor =3D 2516583= 4, horizontal_scroll_bar_cursor =3D 25165838, invisible_cursor =3D 25165843= ,
=C2=A0 toggle_visible_pointer =3D 0x4becb0 <x_toggle_visible_pointe= r>, xg_cursor =3D 0x2dfbcc0, xrdb =3D 0x2e068f0, smallest_char_width =3D= 13,
=C2=A0 smallest_font_height =3D 25, scratch_cursor_gc =3D 0x34752e0= , mouse_highlight =3D {mouse_face_beg_row =3D -1, mouse_face_beg_col =3D -1= , mouse_face_beg_x =3D 0,
=C2=A0 =C2=A0 mouse_face_end_row =3D -1, mouse= _face_end_col =3D -1, mouse_face_end_x =3D 0, mouse_face_window =3D 0, mous= e_face_face_id =3D 0, mouse_face_overlay =3D 0,
=C2=A0 =C2=A0 mouse_face= _mouse_frame =3D 0x1385c30 <bss_sbrk_buffer+7883952>, mouse_face_mous= e_x =3D 541, mouse_face_mouse_y =3D 118, mouse_face_past_end =3D false,
= =C2=A0 =C2=A0 mouse_face_defer =3D false, mouse_face_hidden =3D false}, x_i= d =3D 1, x_id_name =3D 0x2c34510 "emacs@LAPTOP-0TO7HGG8", n_fonts= =3D 4, bitmaps =3D 0x0,
=C2=A0 bitmaps_size =3D 0, bitmaps_last =3D 0, = meta_mod_mask =3D 8, shift_lock_mask =3D 0, alt_mod_mask =3D 0, super_mod_m= ask =3D 0, hyper_mod_mask =3D 0,
=C2=A0 Xatom_wm_protocols =3D 125, Xato= m_wm_take_focus =3D 127, Xatom_wm_save_yourself =3D 300, Xatom_wm_delete_wi= ndow =3D 126, Xatom_wm_change_state =3D 123,
=C2=A0 Xatom_wm_configure_d= enied =3D 301, Xatom_wm_window_moved =3D 302, Xatom_wm_client_leader =3D 17= 8, Xatom_editres =3D 303, Xatom_CLIPBOARD =3D 133,
=C2=A0 Xatom_TIMESTAM= P =3D 304, Xatom_TEXT =3D 129, Xatom_DELETE =3D 305, Xatom_COMPOUND_TEXT = =3D 128, Xatom_UTF8_STRING =3D 135, Xatom_MULTIPLE =3D 306,
=C2=A0 Xatom= _INCR =3D 307, Xatom_EMACS_TMP =3D 308, Xatom_TARGETS =3D 132, Xatom_NULL = =3D 309, Xatom_ATOM =3D 4, Xatom_ATOM_PAIR =3D 310, Xatom_CLIPBOARD_MANAGER= =3D 311,
=C2=A0 Xatom_PIXEL_SIZE =3D 94, Xatom_AVERAGE_WIDTH =3D 98, Xa= tom_MULE_BASELINE_OFFSET =3D 313, Xatom_MULE_RELATIVE_COMPOSE =3D 314, Xato= m_MULE_DEFAULT_ASCENT =3D 315,
=C2=A0 Xatom_DONE =3D 316, Xatom_PAGE =3D= 317, Xatom_Scrollbar =3D 318, Xatom_Horizontal_Scrollbar =3D 319, Xatom_XE= MBED =3D 320, Xatom_XEMBED_INFO =3D 312,
=C2=A0 x_focus_frame =3D 0x1385= c30 <bss_sbrk_buffer+7883952>, x_focus_event_frame =3D 0x1385c30 <= bss_sbrk_buffer+7883952>,
=C2=A0 x_highlight_frame =3D 0x1385c30 <= bss_sbrk_buffer+7883952>, x_pending_autoraise_frame =3D 0x0, last_mouse_= frame =3D 0x0, last_mouse_glyph_frame =3D 0x0,
=C2=A0 last_mouse_motion_= frame =3D 0x1385c30 <bss_sbrk_buffer+7883952>, last_mouse_scroll_bar = =3D 0x0, last_user_time =3D 1091390837, last_mouse_motion_x =3D 546,
=C2= =A0 last_mouse_motion_y =3D 118, last_mouse_glyph =3D {x =3D 541, y =3D 100= , width =3D 13, height =3D 25}, last_mouse_movement_time =3D 1091389269, gr= ay =3D 25165839,
=C2=A0 xim =3D 0x2e445a0, xim_styles =3D 0x2cbb770, xim= _callback_data =3D 0x2e39040, color_names =3D 0x2df2920, color_cells =3D 0x= 0, ncolor_cells =3D 0, red_bits =3D 8,
=C2=A0 blue_bits =3D 8, green_bit= s =3D 8, red_offset =3D 16, blue_offset =3D 0, green_offset =3D 8, wm_type = =3D X_WMTYPE_UNKNOWN, x_dnd_atoms =3D 0x2e85520,
=C2=A0 x_dnd_atoms_size= =3D 8, x_dnd_atoms_length =3D 6, Xatom_net_supported =3D 321, Xatom_net_su= pporting_wm_check =3D 322, net_supported_atoms =3D 0x0,
=C2=A0 nr_net_su= pported_atoms =3D 0, net_supported_window =3D 0, Xatom_net_window_type =3D = 279, Xatom_net_window_type_tooltip =3D 287, Xatom_net_active_window =3D 256= ,
=C2=A0 Xatom_net_wm_state =3D 266, Xatom_net_wm_state_fullscreen =3D 2= 69, Xatom_net_wm_state_maximized_horz =3D 273, Xatom_net_wm_state_maximized= _vert =3D 272,
=C2=A0 Xatom_net_wm_state_sticky =3D 276, Xatom_net_wm_st= ate_above =3D 267, Xatom_net_wm_state_below =3D 268, Xatom_net_wm_state_hid= den =3D 270,
=C2=A0 Xatom_net_wm_state_skip_taskbar =3D 274, Xatom_net_f= rame_extents =3D 258, Xatom_net_current_desktop =3D 257, Xatom_net_workarea= =3D 324,
=C2=A0 Xatom_xsettings_sel =3D 295, Xatom_xsettings_prop =3D 3= 26, Xatom_xsettings_mgr =3D 327, xsettings_window =3D 0, Xatom_net_wm_name = =3D 263,
=C2=A0 Xatom_net_wm_icon_name =3D 262, Xatom_net_wm_window_opac= ity =3D 323, Xatom_SM_CLIENT_ID =3D 325, xrandr_major_version =3D 0, xrandr= _minor_version =3D 0,
=C2=A0 xcb_connection =3D 0x2caf250, supports_xdbe= =3D false}
$9 =3D {type =3D 4, serial =3D 9839, send_event =3D 0, displ= ay =3D 0x2cae000, window =3D 25166151, root =3D 51, subwindow =3D 0, time = =3D 1091390837, x =3D 546, y =3D 118,
=C2=A0 x_root =3D 2467, y_roo= t =3D 229, state =3D 0, button =3D 1, same_screen =3D 1}

I haven't yet pursued further executions (I need to sit in front= of the second, 60-inch 4K display for this!), but will do (so, advice is w= elcome!).

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Eijiro

--00000000000009d3c8058ede7d66--