summaryrefslogtreecommitdiff
path: root/src/window_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_type.h')
-rw-r--r--src/window_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/window_type.h b/src/window_type.h
index bc8ee42b7..9ff8997d5 100644
--- a/src/window_type.h
+++ b/src/window_type.h
@@ -93,6 +93,14 @@ enum WindowClass {
};
struct Window;
+struct WindowEvent;
typedef int32 WindowNumber;
+/**
+ * You cannot 100% reliably calculate the biggest custom struct as
+ * the number of pointers in it and alignment will have a huge impact.
+ * 96 is the largest window-size for 64-bit machines currently.
+ */
+#define WINDOW_CUSTOM_SIZE 96
+
#endif /* WINDOW_TYPE_H */