mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Move border-struct to common/border.h for sharing
This commit is contained in:
parent
16bf67a8cd
commit
3a9dcd54a7
2 changed files with 13 additions and 7 deletions
12
include/common/border.h
Normal file
12
include/common/border.h
Normal 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 */
|
||||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue