Implement default border styles (thanks litemotiv).

This commit is contained in:
Fernando Tarlá Cardoso Lemos
2010-12-07 21:32:04 -02:00
committed by Michael Stapelberg
parent 41eb810531
commit a1dd74da5a
6 changed files with 24 additions and 5 deletions

View File

@ -42,6 +42,7 @@ typedef struct Window i3Window;
*****************************************************************************/
typedef enum { D_LEFT, D_RIGHT, D_UP, D_DOWN } direction_t;
typedef enum { NO_ORIENTATION = 0, HORIZ, VERT } orientation_t;
typedef enum { BS_NORMAL = 0, BS_NONE = 1, BS_1PIXEL = 3 } border_style_t;
enum {
BIND_NONE = 0,
@ -331,7 +332,7 @@ struct Con {
enum { CF_NONE = 0, CF_OUTPUT = 1, CF_GLOBAL = 2 } fullscreen_mode;
enum { L_DEFAULT = 0, L_STACKED = 1, L_TABBED = 2 } layout;
enum { BS_NORMAL = 0, BS_NONE = 1, BS_1PIXEL = 3 } border_style;
border_style_t border_style;
/** floating? (= not in tiling layout) This cannot be simply a bool
* because we want to keep track of whether the status was set by the
* application (by setting _NET_WM_WINDOW_TYPE appropriately) or by the