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: Geoff Gole <geoffgole@gmail.com>
Cc: Chong Yidong <cyd@gnu.org>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: xterm.c (x_clear_frame) - commented out call to XClearWindow
Date: Mon, 21 Nov 2011 19:02:47 +0100	[thread overview]
Message-ID: <391CC3E1-BEF3-4561-8902-8BEE63CDEAE7@swipnet.se> (raw)
In-Reply-To: <CALhHxSWEM1Cp249yF3T0K85+q2p1y8y+rrbo1XpExrHRHTXZQw@mail.gmail.com>

Hello.

21 nov 2011 kl. 12:36 skrev Geoff Gole:

>> 
>> OK, I see the problem now; thanks.  I guess your proposed fix is an OK
>> band-aid.  A more correct fix would be to make sure that the echo area
>> is painted properly when drawing glyph strings, i.e. all the way to the
>> bottom of the frame.  But that may not be a straightforward change.
>> 
>> The problem doesn't stop there, though: depending on the screen width,
>> there's a similar unpainted space to the right of the GTK scroll bar,
>> and another in the echo area where the scroll bar normally appears.
>> 
> 
> Indeed, I missed that. I also notice that there's no window covering
> some of those areas, so mouse interaction is pretty broken there
> (though unpainted space next to scroll bars inside the frame doesn't
> have that problem).
> 
> It seems pretty broken to have leftover space there. It should
> probably be part of the appropriate window.


The uncommented XClearWindow in x_clear_frame must be there so I activated it again.

Just doing
(set-background-color "green")

and then

(set-background-color "white")

leaves big chunks of green where there is no text unless x_clear_frame does its job.
Flickering is almost unavoidable for Gtk as we bypass the normal Gtk drawing stuff.
Flickering also occurs for other toolkits, but not as bad.  The whole redraw mechanism used by Emacs is in it self flickerish.

	Jan D.




  reply	other threads:[~2011-11-21 18:02 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 [this message]
2011-11-22  2:38           ` Geoff Gole
2011-11-22  5:31           ` Chong Yidong
2011-11-22  6:41             ` Jan Djärv
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=391CC3E1-BEF3-4561-8902-8BEE63CDEAE7@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.