2018-09-24 20:54:57 +10:00
|
|
|
#ifndef _SWAY_XDG_DECORATION_H
|
|
|
|
#define _SWAY_XDG_DECORATION_H
|
|
|
|
|
|
|
|
#include <wlr/types/wlr_xdg_decoration_v1.h>
|
|
|
|
|
|
|
|
struct sway_xdg_decoration {
|
|
|
|
struct wlr_xdg_toplevel_decoration_v1 *wlr_xdg_decoration;
|
|
|
|
struct wl_list link;
|
|
|
|
|
|
|
|
struct sway_view *view;
|
|
|
|
|
|
|
|
struct wl_listener destroy;
|
2018-09-27 22:44:57 +10:00
|
|
|
struct wl_listener request_mode;
|
2018-09-24 20:54:57 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
struct sway_xdg_decoration *xdg_decoration_from_surface(
|
|
|
|
struct wlr_surface *surface);
|
|
|
|
|
|
|
|
#endif
|