[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redisplay issue
From: |
Eli Zaretskii |
Subject: |
Re: Redisplay issue |
Date: |
Sat, 28 Nov 2015 10:06:28 +0200 |
> Date: Fri, 27 Nov 2015 14:31:55 -0800
> From: Yuan MEI <address@hidden>
>
> Sometimes when I switch to another virtual desktop then come back
> to emacs
What is a "virtual desktop" in this case?
> the entire frame shows only the background color, no letter
> or only part of the frame is visible. This does not happen all the
> time though. I just happened to capture a screenshot (attached, I
> hope the mailing server accepts it.)
The screenshot shows a text-mode Emacs frame, AFAICT. Does this
happen only with text-mode frames, or do you see that in GUI frames as
well?
If this happens with text-mode frames only, then that's not an Emacs
problem. It's a problem with the terminal emulator (xterm etc.) you
are using: it should sense the switch and redraw the display on the
low level.
When Emacs runs on a TTY, it doesn't listen to any expose or conceal
messages sent by the windowing system, so it has no idea that its
display was concealed or exposed, and cannot initiate a redisplay in
these situations. From the Emacs POV, a TTY frame is the only thing
displayed by the console device, and the only way such a frame can be
concealed and exposed is by stopping Emacs (with the likes of "C-z")
and then resuming it. And these are the only cases a TTY frame will
be completely redrawn.
GUI frames are different: Emacs gets expose events for them, and
should react by redrawing the exposed portion(s) of the frame.
- Redisplay issue, Yuan MEI, 2015/11/27
- Re: Redisplay issue,
Eli Zaretskii <=
- Re: Redisplay issue, Yuan MEI, 2015/11/28
- Re: Redisplay issue, Eli Zaretskii, 2015/11/28
- Re: Redisplay issue, Yuan MEI, 2015/11/28
- Re: Redisplay issue, Eli Zaretskii, 2015/11/28
- Re: Redisplay issue, Yuan MEI, 2015/11/28
- Re: Redisplay issue, Eli Zaretskii, 2015/11/29
- Re: Redisplay issue, Yuan MEI, 2015/11/29
- Re: Redisplay issue, Eli Zaretskii, 2015/11/30
- Re: Redisplay issue, Yuan MEI, 2015/11/30
Re: Redisplay issue, joakim, 2015/11/28