summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@redhat.com>2005-06-26 21:58:37 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-06-26 21:58:37 +0000
commit947e45d27dcacae98f97630e25cc976b98b400cb (patch)
tree5ea68668663f1eede96108ed350c593202e893f6 /src/frames.h
parenta85aea8b1892bbb656cd515f535a45a165a9da92 (diff)
downloadmetacity-947e45d27dcacae98f97630e25cc976b98b400cb.tar.gz
metacity-947e45d27dcacae98f97630e25cc976b98b400cb.tar.bz2
Add a cache of pixmaps for recently exposed frame areas. Makes metacity a
Sun Jun 26 11:19:18 2005 Soeren Sandmann <sandmann@redhat.com> * src/frames.c: Add a cache of pixmaps for recently exposed frame areas. Makes metacity a bit faster when dragging windows around. See bug 141813.
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frames.h b/src/frames.h
index 13b4f9a..d7db935 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -90,6 +90,10 @@ struct _MetaFrames
MetaUIFrame *last_motion_frame;
int expose_delay_count;
+
+ int invalidate_cache_timeout_id;
+ GList *invalidate_frames;
+ GHashTable *cache;
};
struct _MetaFramesClass