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

                 Summary: Fix ctrl+click in the city list for the gtk3 client
                 Project: Freeciv
            Submitted by: silene
            Submitted on: Wed 06 Nov 2013 08:34:22 PM CET
                Category: client-gtk-3.0
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

Calling gdk_window_get_pointer with a NULL window is no longer allowed in
gtk3. (It was partly supported in gtk2.) Not only does this cause a "critical
error" message, but, since the get_pointer function exits early, the content
of the mask variable is left uninitialized. In other words, when selecting a
city in the list, the appearance of the popup window succeeds randomly. The
attached patch fixes it by copy-pasting the code from citydlg.c, where a
similar issue had already been fixed.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 06 Nov 2013 08:34:22 PM CET  Name: city_callback.patch  Size: 980B  
By: silene

<http://gna.org/patch/download.php?file_id=19328>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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