aboutsummaryrefslogtreecommitdiff
path: root/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'shm.h')
-rw-r--r--shm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shm.h b/shm.h
index d0d79435..034b87e1 100644
--- a/shm.h
+++ b/shm.h
@@ -7,6 +7,8 @@
#include <pixman.h>
#include <wayland-client.h>
+#include "terminal.h"
+
struct buffer {
unsigned long cookie;
@@ -34,6 +36,8 @@ struct buffer {
bool purge; /* True if this buffer should be destroyed */
int age;
+ tll (struct damage) scroll_damage;
+ pixman_region32_t dirty;
};
struct buffer *shm_get_buffer(