2018-07-14 06:53:56 +10:00
|
|
|
#ifndef _SWAY_DECORATION_H
|
|
|
|
#define _SWAY_DECORATION_H
|
|
|
|
|
|
|
|
#include <wlr/types/wlr_server_decoration.h>
|
|
|
|
|
|
|
|
struct sway_server_decoration {
|
|
|
|
struct wlr_server_decoration *wlr_server_decoration;
|
2018-07-30 03:31:10 +10:00
|
|
|
struct wl_list link;
|
2018-07-14 06:53:56 +10:00
|
|
|
|
|
|
|
struct wl_listener destroy;
|
|
|
|
struct wl_listener mode;
|
|
|
|
};
|
|
|
|
|
2018-07-30 03:31:10 +10:00
|
|
|
struct sway_server_decoration *decoration_from_surface(
|
|
|
|
struct wlr_surface *surface);
|
|
|
|
|
2018-07-14 06:53:56 +10:00
|
|
|
#endif
|