emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about


From: Eli Zaretskii
Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
Date: Mon, 26 Mar 2018 22:24:03 +0300

> Date: Mon, 26 Mar 2018 21:16:52 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden, address@hidden
> 
>  > You mean, FRAME_VISIBLE_P is not reliable in your GTK Emacs?
> 
> Yes.  See also the thread starting here:
> 
> https://lists.nongnu.org/archive/html/emacs-devel/2017-02/msg00133.html

For the purposes of this discussion, I'll settle with a subset of my
question, viz.: when FRAME_VISIBLE_P returns non-zero, is it possible
that the frame is in fact not visible?

If a non-zero value of FRAME_VISIBLE_P reliably tells us that the
frame is visible, then we can avoid waiting for MapNotify when
FRAME_VISIBLE_P returns non-zero at entry into x_make_frame_visible.
(This is what the original code circa Emacs 21 did, AFAIR.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]