Summary: GTK2+Quartz
                 Project: Freeciv
            Submitted by: None
            Submitted on: Sun Jun 26 12:44:06 2011
                Category: client-gtk-2.0
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 



This fixes some issues of the GTK2 client to get it running on OSX using
GTK2+quartz (no X11). These are the changes:

1. gdk_drawable_get_image, which is used to get the sprite mask bitmap, makes
some problems, so I disabled the sprite mask and use the alpha of the sprite
pixbuf instead. Seems quite dirty to me, but it works fine... (sprite.c)

2. gtk_window_fullscreen doesn't resize the window correctly, if the window
isn't visible already. Therefore I moved it behind gtk_widget_show.

3. The map is frozen when the view-tab isn't visible, since parts of the map
will be redrawn and visible even if another tab is open. (gui_main.c) 


File Attachments:

Date: Sun Jun 26 12:44:06 2011  Name: gtk2+quartz.diff  Size: 4kB   By: None
patched against svn-snapshot (2011-06-26)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to