mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Listen to server-decoration mode changes
This commit is contained in:
parent
0cd418ba42
commit
700941dde8
5 changed files with 72 additions and 6 deletions
13
include/sway/decoration.h
Normal file
13
include/sway/decoration.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue