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.
This commit is contained in:
Benjamin Otte
2010-07-22 02:26:05 +02:00
parent 9c026fb32e
commit f7608c33ac
7 changed files with 57 additions and 83 deletions

View File

@ -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
*/