]> Pileus Git - ~andy/gtk/commit
Cache cursors to avoid libXcursor theme lookup overhead.
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jan 2009 02:15:59 +0000 (02:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jan 2009 02:15:59 +0000 (02:15 +0000)
commit1cba7387ce6bc59b4d9b22f7b9462358dbd9fec9
tree8b4e8537705f8a1ba53200b9d70af69fc5145c06
parent42371c1a03773cd2759a48de07e0caabff4658a6
    Cache cursors to avoid libXcursor theme lookup overhead.
        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
ChangeLog
gdk/gdkcursor.h
gdk/x11/gdkcursor-x11.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkprivate-x11.h