Fixed issue #1. Probably needs some more thorough testing.
[projects/chimara/chimara.git] / src / window.h
index 30fe53d8834b3d2237bd1c2c4205699d6c827a33..39c43149f9d6819e225cffd8d29279803e1c4325 100644 (file)
@@ -27,7 +27,7 @@ enum InputRequestType
 struct glk_window_struct
 {
        /*< private >*/
-       glui32 rock;
+       glui32 magic, rock;
        /* Pointer to the node in the global tree that contains this window */
        GNode *window_node;
        /* Window parameters */
@@ -46,6 +46,10 @@ struct glk_window_struct
        /* Width and height of the window, in characters (text grids only) */
        glui32 width;
        glui32 height;
+       /* Window split data (pair windows only) */
+       winid_t key_window;
+       glui32 split_method;
+       glui32 constraint_size;
        /* Input request stuff */
        enum InputRequestType input_request_type;
        gchar *line_input_buffer;