aboutsummaryrefslogblamecommitdiffstats
path: root/include/sway/decoration.h
blob: 7916746e64bb69d158f8b1b25379f427d409b303 (plain) (tree)
1
2
3
4
5
6
7
8






                                                            
                            




                                   


                                                       
      
#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;
	struct wl_list link;

	struct wl_listener destroy;
	struct wl_listener mode;
};

struct sway_server_decoration *decoration_from_surface(
	struct wlr_surface *surface);

#endif