summaryrefslogtreecommitdiff
path: root/src/include/common.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-06-16 20:46:55 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2018-06-16 20:46:55 +0300
commitf12980833b9463c1e0c1a005d026bdf6d869cad2 (patch)
treedc33c5680f1b70f44abbe80a5cf4f8c64666d447 /src/include/common.h
parentf69d24282e6aba0dab7813800b8a67662bb71c2e (diff)
downloadmetacity-f12980833b9463c1e0c1a005d026bdf6d869cad2.tar.gz
window: use MetaEdge for struts
Diffstat (limited to 'src/include/common.h')
-rw-r--r--src/include/common.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 3af03351..223784d5 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -183,15 +183,14 @@ typedef enum
/* Sometimes we want to talk about sides instead of directions; note
* that the values must be as follows or meta_window_update_struts()
- * won't work. Using these values also is a safety blanket since
- * MetaDirection used to be used as a side.
+ * won't work.
*/
typedef enum
{
- META_SIDE_LEFT = META_DIRECTION_LEFT,
- META_SIDE_RIGHT = META_DIRECTION_RIGHT,
- META_SIDE_TOP = META_DIRECTION_TOP,
- META_SIDE_BOTTOM = META_DIRECTION_BOTTOM
+ META_SIDE_LEFT = 0,
+ META_SIDE_RIGHT = 1,
+ META_SIDE_TOP = 2,
+ META_SIDE_BOTTOM = 3
} MetaSide;
/* should investigate changing these to whatever most apps use */