mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-27 21:58:16 +01:00
20 lines
412 B
C
20 lines
412 B
C
|
#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;
|
||
|
struct wl_listener surface_commit;
|
||
|
};
|
||
|
|
||
|
struct sway_xdg_decoration *xdg_decoration_from_surface(
|
||
|
struct wlr_surface *surface);
|
||
|
|
||
|
#endif
|