Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Re: (PR#8262) Map redraw
Home

[Freeciv-Dev] Re: (PR#8262) Map redraw

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8262) Map redraw
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Mon, 22 Mar 2004 13:27:56 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Sun, Mar 21, 2004 at 09:48:35AM -0800, Christian Knoke wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8262 >
> 
> 
> CVS 21 MAR 2004 GTK 1.2
> 
> The main map part of the civclient window doesn't get redrawn, when I switch
> forth and back to another window. A right click into the map, or a size
> change of the window, restores it then.

This fixes it for me.

Probably not a *real* fix.

Chris(want to play)tian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

--- mapview_common.c.orig       Mon Mar 22 22:27:09 2004
+++ mapview_common.c    Mon Mar 22 22:27:33 2004
@@ -2112,6 +2112,7 @@
   }
 
   if (map_exists() && can_client_change_view()) {
+    update_map_canvas_visible();
     if (tile_size_changed) {
       update_map_canvas_visible();
       refresh_overview_canvas();

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