emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs and Gnome Canvas


From: Jan Djärv
Subject: Re: Emacs and Gnome Canvas
Date: Fri, 16 Jul 2010 19:38:43 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1



Davis Herring skrev 2010-07-16 16.05:
What does "replaced with addition of the dirty area" mean?  The X
server only sends expose events when it thinks that a (part of) an X
window needs to be redrawn, for example when resizing.

I think it means "inform the X server that a region needs to be redrawn,
as if it had just been exposed".  I don't know if X even supports this
idea, but I know it from Java:
<http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Component.html#repaint%28int,%20int,%20int,%20int%29>.
  That method arranges for a repaint to occur, but returns immediately; the
painting happens in response to the artificial expose-like event created.
(Such events may then be intelligently coalesced by the toolkit to paint
larger areas in one pass.)

Gtk+ has something similar, but raw X or Xt for that matter hasn't.
Not that it would be very difficult for Emacs to implement it, but would it be worth it? What should the tty-code do?

        Jan D.



reply via email to

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