[174] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Code escape: Gzilla 0.01

daemon@ATHENA.MIT.EDU (Tim Janik)
Thu May 15 21:28:39 1997

Date: Fri, 16 May 1997 03:26:48 +0200 (CEST)
From: Tim Janik <Tim.Janik@Hamburg.Netsurf.DE>
Reply-To: Tim Janik <Tim.Janik@Hamburg.Netsurf.DE>
To: gtk-list@redhat.com
In-Reply-To: <lzk9l0717v.fsf@huygens.cit.cornell.edu>
Resent-From: gtk-list@redhat.com

On 15 May 1997, Owen Taylor wrote:

> I don't think it's the server that's doing the blanking - a quick
> test I did was to try stopping a program and then resizing it's
> window - and no such blanking occurred. 

it is the X-Server, if you stop a program and resize the window to
grow in the width for about 5-10 times and then do the same on the
height, full-size the window and send a SIGCONT to it, you can watch
it doing expose events because of the resizing untill hell freezes ;)
this happens to any application, unrelated to the underlying widget set.

IMHO the best way to skip that behaviour is (assumed you know the resizing
is to come) to skip any events (by filtering _any_ expose events) until
the application reaches a final state where you can generate a single expose
on the whole widget tree.


---
ciaoTJ

Tim.Janik@Hamburg.Netsurf.DE	[signature: <CENS||ED>]



--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post