Skip to content
  • Matthias Clasen's avatar
    Cache cursors to avoid libXcursor theme lookup overhead. · 1cba7387
    Matthias Clasen authored
            Patch by David Alan Gilbert.
    
            * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.
    
            * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.
    
            * gdk/x11/gdkprivate-x11.h:
            * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a
            display if finalized.
    
    
    svn path=/trunk/; revision=22145
    1cba7387