xwayland: add state support

This commit is contained in:
emersion 2017-09-29 22:26:03 +02:00
parent 98707c16ad
commit 97346e7a1b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 78 additions and 6 deletions

View file

@ -60,6 +60,12 @@ enum atom_name {
extern const char *atom_map[ATOM_LAST];
enum net_wm_state_action {
NET_WM_STATE_REMOVE = 0,
NET_WM_STATE_ADD = 1,
NET_WM_STATE_TOGGLE = 2,
};
struct wlr_xwm {
struct wlr_xwayland *xwayland;
struct wl_event_source *event_source;