URL:
  <http://gna.org/patch/?2757>

                 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: 

    _______________________________________________________

Details:

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.
(gui_main.c)

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)
<http://gna.org/patch/download.php?file_id=13347>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2757>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to