summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2022-09-24 10:47:02 +0200
committerMichael Stapelberg <michael@stapelberg.de>2022-10-24 21:12:20 +0200
commit0af2bac9ed3c41a02ffdabc4727510091b82cbfd (patch)
treeb0ef07c49034891dc965a334a4bf0b3909b81c98
parent5e4ed2fc75be29f69948a5aff72ed14c66058ce6 (diff)
downloadi3-0af2bac9ed3c41a02ffdabc4727510091b82cbfd.tar.gz
i3-0af2bac9ed3c41a02ffdabc4727510091b82cbfd.zip
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.
-rw-r--r--include/data.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/data.h b/include/data.h
index 1b3c7119..9bf43d0c 100644
--- a/include/data.h
+++ b/include/data.h
@@ -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 */