Move border-struct to common/border.h for sharing

This commit is contained in:
Johan Malm 2023-06-05 21:48:47 +01:00 committed by Johan Malm
parent 16bf67a8cd
commit 3a9dcd54a7
2 changed files with 13 additions and 7 deletions

12
include/common/border.h Normal file
View file

@ -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 */

View 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
*