From bec068ef5ddc73f23ffd6298122bf818fd4d2084 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 24 Oct 2014 21:59:58 +0200 Subject: Rework tiling code based off Consortium Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d --- src/include/boxes.h | 3 ++- src/include/common.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/boxes.h b/src/include/boxes.h index 0e30b2a8..cf49fe62 100644 --- a/src/include/boxes.h +++ b/src/include/boxes.h @@ -284,7 +284,8 @@ GList* meta_rectangle_find_onscreen_edges (const MetaRectangle *basic_rect, * struts. */ GList* meta_rectangle_find_nonintersected_xinerama_edges ( - const GList *xinerama_rects, + const MetaRectangle *screen_rect, + const GList *xinerama_rects, const GSList *all_struts); #endif /* META_BOXES_H */ diff --git a/src/include/common.h b/src/include/common.h index c72ed834..69755e24 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -47,7 +47,9 @@ typedef enum META_FRAME_ALLOWS_MOVE = 1 << 11, META_FRAME_FULLSCREEN = 1 << 12, META_FRAME_IS_FLASHING = 1 << 13, - META_FRAME_ABOVE = 1 << 14 + META_FRAME_ABOVE = 1 << 14, + META_FRAME_TILED_LEFT = 1 << 15, + META_FRAME_TILED_RIGHT = 1 << 16 } MetaFrameFlags; typedef enum -- cgit v1.2.1