minimal size and formatting

This commit is contained in:
2026-01-07 20:35:41 +07:00
parent d5f736d9a6
commit b5d5793aa8
11 changed files with 63 additions and 71 deletions
+7
View File
@@ -24,8 +24,14 @@
#define ABSINTHE_BORDER_WIDTH 1
#define ABSINTHE_WINDOW_MIN_WIDTH 200
#define ABSINTHE_WINDOW_MIN_HEIGHT 200
static const float bordercolor[4] = {0.88, 0.18, 0.18, 1.0};
#define MAX(a, b) a > b ? a : b
#define MIN(a, b) a < b ? a : b
enum absinthe_cursor_mode {
ABSINTHE_CURSOR_PASSTHROUGH,
ABSINTHE_CURSOR_MOVE,
@@ -87,6 +93,7 @@ struct absinthe_server {
struct absinthe_output {
struct wl_list link;
struct absinthe_server *server;
struct wlr_box geometry;
struct wlr_output *wlr_output;
struct wl_listener frame;
struct wl_listener request_state;