]> git.sur5r.net Git - i3/i3/blobdiff - include/data.h
Make horizontal edge-borders hidable too
[i3/i3] / include / data.h
index acce59be197f581bdc0a387b2bcafc3d6bd6b087..a5ac943cead29eec8ea241e458c30e34395fa22b 100644 (file)
@@ -62,8 +62,10 @@ typedef enum { DONT_KILL_WINDOW = 0, KILL_WINDOW = 1, KILL_CLIENT = 2 } kill_win
 
 /** describes if the window is adjacent to the output (physical screen) edges. */
 typedef enum { ADJ_NONE = 0,
-               ADJ_LEFT_SCREEN_EDGE = 1,
-               ADJ_RIGHT_SCREEN_EDGE = 2} adjacent_t;
+               ADJ_LEFT_SCREEN_EDGE = (1 << 0),
+               ADJ_RIGHT_SCREEN_EDGE = (1 << 1),
+               ADJ_UPPER_SCREEN_EDGE = (1 << 2),
+               ADJ_LOWER_SCREEN_EDGE = (1 << 4)} adjacent_t;
 
 enum {
     BIND_NONE = 0,