diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-22 02:26:05 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-10 21:02:29 +0200 |
commit | f7608c33aca855e33d8087622f2780e4a23e5928 (patch) | |
tree | bc8385c22c5da999bcb903eef04bcc71e1f945c1 /gdk/x11/gdkscreen-x11.h | |
parent | 9c026fb32e6034c8e770f7dde25bc0e77f7ef661 (diff) | |
download | gtk+-f7608c33aca855e33d8087622f2780e4a23e5928.tar.gz |
gdk: Move scratch GC handling to X11
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
Diffstat (limited to 'gdk/x11/gdkscreen-x11.h')
-rw-r--r-- | gdk/x11/gdkscreen-x11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/x11/gdkscreen-x11.h b/gdk/x11/gdkscreen-x11.h index c066f9f930..98cca0e2a6 100644 --- a/gdk/x11/gdkscreen-x11.h +++ b/gdk/x11/gdkscreen-x11.h @@ -95,6 +95,9 @@ struct _GdkScreenX11 GdkX11Monitor *monitors; gint primary_monitor; + /* cache for window->translate vfunc */ + GC subwindow_gcs[32]; + /* Xft resources for the display, used for default values for * the Xft/ XSETTINGS */ |