Ethereal-dev: RE: [Ethereal-dev] GTK2 window resize bug with cygwin

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date Prev · Date Next · Thread Prev · Thread Next
From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Sat, 1 Nov 2003 12:22:35 +0100
| From: Guy Harris
| 
| On Oct 31, 2003, at 7:06 AM, Biot Olivier wrote:
| 
| > When I compile Ethereal (cvs snapshot from some days ago) with GTK2 
| > under
| > cygwin, the executable does not refresh its window if I resize it, 
|
| <snip>
|
| Ethereal now captures "configure" events on the top-level window, and 
| the handler for that event gets the geometry for the window 
| and updates 
| the in-memory geometry information.
| 
| The handler was returning TRUE, which would have stopped the further 
| propagation of that event.  I've checked in a change to make 
| it return 
| FALSE, which doesn't seem to have broken anything, at least with GTK1 
| on X11.  See if changing "main_window_configure_event_cb()" to return 
| FALSE fixes it (that's what my change did).

The fix you propose indeed solves this problem!
I just tested it with GTK+-2 (cygwin, X server).

Thanks!

Olivier