summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 06f028b..832fbb3 100644
--- a/src/data.h
+++ b/src/data.h
@@ -70,6 +70,11 @@ struct rp_window
/* Saved mouse position */
int mouse_x, mouse_y;
+ /* A window can be visible inside a frame but not the frame's
+ current window. This keeps track of what frame the window was
+ mapped into. */
+ rp_window_frame *frame;
+
rp_window *next, *prev;
};