]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Move border-struct to common/border.h for sharing
authorJohan Malm <jgm323@gmail.com>
Mon, 5 Jun 2023 20:48:47 +0000 (21:48 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 26 Jun 2023 05:04:07 +0000 (06:04 +0100)
include/common/border.h [new file with mode: 0644]
include/ssd.h

diff --git a/include/common/border.h b/include/common/border.h
new file mode 100644 (file)
index 0000000..ef9861d
--- /dev/null
@@ -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 */
index 87528f97beb756abbdbadb9f23daffdee10116b8..4ccc0ef33a80ee8cc9b6b28c42873844d648f513 100644 (file)
@@ -3,6 +3,7 @@
 #define LABWC_SSD_H
 
 #include <wayland-server-core.h>
+#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
  *