Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()
Home

[Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 22:26:00 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11174 >

Frédéric Brière wrote:

> But don't most clients merely call map_canvas_resized() upon a resize
> event?  If you call init_mapcanvas_and_overview() *after* you have
> created your widget (as I did), then the initial resize event has
> already been sent, and init_mapcanvas_and_overview() will resize the
> perfectly good-sized map.

Most clients have a "configure" event that resizes the canvas.

jason





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