Re: GDK bug
- From: Havoc Pennington <hp redhat com>
- To: "David O'Toole" <dto qwsi net>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: GDK bug
- Date: 28 Apr 2001 12:26:57 -0400
"David O'Toole" <dto qwsi net> writes:
configure_event is emitted whenever a window's size or position
change, for any reason.
This isn't a related problem, but I thought I'd ask:
Is there any way to tell size changes apart from simple position changes
(for a window?) I'm rendering a bitmap on configure_event and drawing
parts of it on expose_event, but I don't want the (mildly expensive)
re-render to happen if the window is just moved.
I think this works:
if (event->width != widget->allocation.width ||
event->height != widget->allocation.height)
do_redraw ();
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]