[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57468: 29.0.50; Text cursor continues to blink when frame loses focu
From: |
Po Lu |
Subject: |
bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus |
Date: |
Sat, 03 Sep 2022 20:26:44 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> And I now have a semi-reliable way to reproduce it.
>
> emacs -Q
> C-x 5 2
>
> Then start another Emacs, and place that frame over frame 2. Then give
> frame 2 focus. Then switch to the other Emacs (which is covering frame
> 2). Then click on the title bar of frame 1. Both frame 1 and the other
> Emacs then have blinking cursors.
>
> This is with Gnome Shell.
I tried several times (also on GNOME Shell), but it didn't work. So if
frame 2 means the frame that was created by C-x 5 2, I still can't
reproduce this, sorry.
Could you please add instrumentation to x_focus_changed, like this:
static void
x_focus_changed (int type, int state, struct x_display_info *dpyinfo, struct
frame *frame,
struct input_event *bufp)
{
fprintf (stderr, "x_focus_changed: %d %d %p %p\n", type, state, frame,
dpyinfo->x_focus_frame);
and also instrumentation to xi_handle_focus_change, like so:
}
}
fprintf (stderr, "xi_handle_focus_change: %p %p\n", <== add this
instrumentation
new, focus); <==
if (new != focus && focus)
{
#ifdef HAVE_X_I18N
if (FRAME_XIC (focus))
XUnsetICFocus (FRAME_XIC (focus));
#endif
and show what is printed once the cursor begins to blink in both frames?
Thanks.
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Lars Ingebrigtsen, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Lars Ingebrigtsen, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Lars Ingebrigtsen, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus,
Po Lu <=
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Lars Ingebrigtsen, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Lars Ingebrigtsen, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Bob Rogers, 2022/09/03
- bug#57468: 29.0.50; Text cursor continues to blink when frame loses focus, Po Lu, 2022/09/03