summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-24 21:59:58 +0200
committerinfirit <[email protected]>2014-10-27 12:29:24 +0100
commitbec068ef5ddc73f23ffd6298122bf818fd4d2084 (patch)
treed7db4682b85c601d069de72cf76dda77b8a5e8dc /src/include
parentf814451acc48aec6d2fa1c217468f74e57a84340 (diff)
downloadmarco-bec068ef5ddc73f23ffd6298122bf818fd4d2084.tar.bz2
marco-bec068ef5ddc73f23ffd6298122bf818fd4d2084.tar.xz
Rework tiling code based off Consortium
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
Diffstat (limited to 'src/include')
-rw-r--r--src/include/boxes.h3
-rw-r--r--src/include/common.h4
2 files changed, 5 insertions, 2 deletions
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