Listen to server-decoration mode changes

This commit is contained in:
emersion 2018-07-13 21:53:56 +01:00
parent 0cd418ba42
commit 700941dde8
5 changed files with 72 additions and 6 deletions

13
include/sway/decoration.h Normal file
View file

@ -0,0 +1,13 @@
#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_listener destroy;
struct wl_listener mode;
};
#endif