Skip to content
  • Matthias Clasen's avatar
    Use an unused high bit in the XID to mark fonts in the global xid hash · 73153b42
    Matthias Clasen authored
    2006-01-19  Matthias Clasen  <mclasen@redhat.com>
    
    	* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
    	* gdk/x11/gdkfont-x11.c:
    	* gdk/x11/gdkxid.c: Use an unused high bit in the
    	XID to mark fonts in the global xid hash table.
    
    	* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
    	when iterating over the xid hash table, since calling
    	GDK_IS_WINDOW () on an GdkFont can cause a segfault.
    	(#327751, Ryan Lortie)
    73153b42