all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Chong Yidong <cyd@gnu.org>
Cc: Geoff Gole <geoffgole@gmail.com>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: xterm.c (x_clear_frame) - commented out call to XClearWindow
Date: Tue, 22 Nov 2011 07:41:51 +0100	[thread overview]
Message-ID: <FB1031B5-E1ED-49E2-913A-93EAA540AB0A@swipnet.se> (raw)
In-Reply-To: <87wras4taz.fsf@gnu.org>


22 nov 2011 kl. 06:31 skrev Chong Yidong:

> Jan Djärv <jan.h.d@swipnet.se> writes:
> 
>> The uncommented XClearWindow in x_clear_frame must be there so I
>> activated it again...  Flickering is almost unavoidable for Gtk as we
>> bypass the normal Gtk drawing stuff.
> 
> Obviously, I disagree.  AFAICT this has nothing to do with GTK.

That depends on what you mean with "this".

> 
> The XClearWindow is obviously unnecessary if Emacs covers the entire
> frame area when drawing glyph strings during redisplay, since the glyph
> strings apply the background color.  The problem here arises because
> there are some areas of the frame not drawn over durig redisplay,
> e.g. the leftover spaces to the bottom and right in fullscreen mode.
> The fact that these areas are unpainted may be regarded as a bug.  A
> suitable temporary work-around would be to paint over them---but
> painting the entire frame is clearly an overreach.

It would be nice if we could just fix ther leftover spaces.  But I think it is too long in to pretest to fix this.  You have to first find all leftover spaces (i.e. under/between scroll bars, minibuffer, fringe) in all cases (font size not a multiple of frame size, fullscreen, and so on) and in all configurations (lucid, Gtk, just X, motif, with or without native scrollbars, with or without Xaw3d scrollbars).
And then for different environments, some redraw errors only appears with XFCE, some with Gnome-shell.

	Jan D.




  reply	other threads:[~2011-11-22  6:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19  2:09 xterm.c (x_clear_frame) - commented out call to XClearWindow Geoff Gole
2011-11-21  5:15 ` Chong Yidong
2011-11-21  7:19   ` Geoff Gole
2011-11-21  8:54     ` Chong Yidong
2011-11-21 11:36       ` Geoff Gole
2011-11-21 18:02         ` Jan Djärv
2011-11-22  2:38           ` Geoff Gole
2011-11-22  5:31           ` Chong Yidong
2011-11-22  6:41             ` Jan Djärv [this message]
2011-11-22 15:37               ` Stefan Monnier
2011-11-23  6:09               ` Chong Yidong
2011-11-29 18:13                 ` Jan Djärv

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=FB1031B5-E1ED-49E2-913A-93EAA540AB0A@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=geoffgole@gmail.com \
    /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.