From: Johan Malm Date: Mon, 5 Jun 2023 20:48:47 +0000 (+0100) Subject: Move border-struct to common/border.h for sharing X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=3a9dcd54a74b10d12884cfcf65e85124dce3202f;p=proto%2Flabwc.git Move border-struct to common/border.h for sharing --- diff --git a/include/common/border.h b/include/common/border.h new file mode 100644 index 00000000..ef9861d4 --- /dev/null +++ b/include/common/border.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef LABWC_BORDER_H +#define LABWC_BORDER_H + +struct border { + int top; + int right; + int bottom; + int left; +}; + +#endif /* LABWC_BORDER_H */ diff --git a/include/ssd.h b/include/ssd.h index 87528f97..4ccc0ef3 100644 --- a/include/ssd.h +++ b/include/ssd.h @@ -3,6 +3,7 @@ #define LABWC_SSD_H #include +#include "common/border.h" #define SSD_BUTTON_COUNT 4 #define SSD_BUTTON_WIDTH 26 @@ -47,13 +48,6 @@ struct view; struct wlr_scene; struct wlr_scene_node; -struct border { - int top; - int right; - int bottom; - int left; -}; - /* * Public SSD API *