all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Madhu <enometh@meer.net>
Cc: emacs-devel@gnu.org
Subject: Re: Possible XInput2 cursor bug ?
Date: Wed, 08 Dec 2021 09:27:34 +0800	[thread overview]
Message-ID: <87ilvzga2h.fsf@yahoo.com> (raw)
In-Reply-To: <m3h7bkjpm0.fsf_-_@leonis4.robolove.meer.net> (Madhu's message of "Tue, 07 Dec 2021 22:53:35 +0530")

Madhu <enometh@meer.net> writes:

> When reading gnus with a recent emacs
> configure -C --with-x-toolkit=athena --without-native-compilation
> --with-xinput2

> If I select a line on the summary buffer, to display the article buffer,
> the block cursor disappears and the cursor becomes hollow (as if it were
> a cursor in an inactive buffer). The focus is still in the summary
> buffer though.

> I think This sort of thing happens even outside gnus but perhaps someone
> with an xinput2 build and gnus can verify if this is happening, I
> rebuilt  --without-xinput2 and don't see the problem.

First the important question: what window manager are you using (is it
GNOME Shell), and are you using Xwayland?

Secondly, please put a breakpoint on this part of xterm.c:

	    /* Some WMs (e.g. Mutter in Gnome Shell), don't unmap
	       minimized/iconified windows; thus, for those WMs we won't get
	       a MapNotify when unminimizing/deconifying.  Check here if we
	       are deiconizing a window (Bug42655).

	       But don't do that on GTK since it may cause a plain invisible
	       frame get reported as iconified, compare
	       https://lists.gnu.org/archive/html/emacs-devel/2017-02/msg00133.html.
	       That is fixed above but bites us here again.  */
	    f = any;
	    if (f && FRAME_ICONIFIED_P (f))
	      {
		SET_FRAME_VISIBLE (f, 1);
		SET_FRAME_ICONIFIED (f, false);
->		f->output_data.x->has_been_visible = true;
		inev.ie.kind = DEICONIFY_EVENT;
		XSETFRAME (inev.ie.frame_or_window, f);
	      }

And see if that part is called when you select such a line in the
summary buffer.

Thanks.



  reply	other threads:[~2021-12-08  1:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87v90wmh6m.fsf.ref@yahoo.com>
2021-11-13 11:24 ` XInput 2 support (again) Po Lu via Emacs development discussions.
2021-11-13 15:04   ` Stefan Monnier
2021-11-14  1:29     ` Po Lu via Emacs development discussions.
2021-11-14 15:29       ` Stefan Monnier
2021-11-14 16:12         ` Eli Zaretskii
2021-11-14 18:11           ` Stefan Monnier
2021-11-14 18:51             ` Eli Zaretskii
2021-11-15  0:26               ` Po Lu
2021-11-15  2:48                 ` Stefan Monnier
2021-11-15  2:54                   ` Po Lu
2021-11-15  3:18                     ` Stefan Monnier
2021-11-15  4:50                       ` Po Lu
2021-12-07 17:23                         ` Possible XInput2 cursor bug ? (Was: Re: XInput 2 support (again)) Madhu
2021-12-08  1:27                           ` Po Lu [this message]
2021-12-08  2:33                             ` Possible XInput2 cursor bug ? Madhu
2021-12-08  2:39                               ` Po Lu
2021-12-12  5:11                                 ` Madhu
2021-12-12  5:27                                   ` Po Lu
2021-12-12  6:02                                     ` Po Lu
2021-12-12 14:45                                       ` Madhu
2021-12-13  1:21                                       ` Po Lu
2021-12-13  4:18                                         ` Madhu
2021-12-12  7:26                                   ` Eli Zaretskii
2021-12-12 14:55                                     ` Madhu
2021-12-12 15:08                                       ` Eli Zaretskii
2021-12-12 18:15                                         ` Madhu

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

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

  git send-email \
    --in-reply-to=87ilvzga2h.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=enometh@meer.net \
    /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 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.