Order border_style_t enum according to amount of decoration

The only place where this matters is with command `border toggle` which
cycles through them. Luckily, the behaviour does not change because the
order is the same with the new enum.
This commit is contained in:
Orestis Floros 2022-09-24 10:47:02 +02:00 committed by Michael Stapelberg
parent 8e9b29419f
commit eddced6b45

View File

@ -61,9 +61,11 @@ typedef enum { NO_ORIENTATION = 0,
VERT } orientation_t;
typedef enum { BEFORE,
AFTER } position_t;
typedef enum { BS_NORMAL = 0,
BS_NONE = 1,
BS_PIXEL = 2 } border_style_t;
typedef enum {
BS_NONE = 0,
BS_PIXEL = 1,
BS_NORMAL = 2,
} border_style_t;
/** parameter to specify whether tree_close_internal() and x_window_kill() should kill
* only this specific window or the whole X11 client */