mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
211ae764fd
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h
28 lines
750 B
C
28 lines
750 B
C
/*
|
|
* This is a stable interface of wlroots. Future changes will be limited to:
|
|
*
|
|
* - New functions
|
|
* - New struct members
|
|
* - New enum members
|
|
*
|
|
* Note that wlroots does not make an ABI compatibility promise - in the future,
|
|
* the layout and size of structs used by wlroots may change, requiring code
|
|
* depending on this header to be recompiled (but not edited).
|
|
*
|
|
* Breaking changes are announced by email and follow a 1-year deprecation
|
|
* schedule. Send an email to ~sircmpwn/wlroots-announce+subscribe@lists.sr.ht
|
|
* to receive these announcements.
|
|
*/
|
|
|
|
#ifndef WLR_UTIL_EDGES_H
|
|
#define WLR_UTIL_EDGES_H
|
|
|
|
enum wlr_edges {
|
|
WLR_EDGE_NONE = 0,
|
|
WLR_EDGE_TOP = 1,
|
|
WLR_EDGE_BOTTOM = 2,
|
|
WLR_EDGE_LEFT = 4,
|
|
WLR_EDGE_RIGHT = 8,
|
|
};
|
|
|
|
#endif
|