Add idle inhibit unstable v1 support

This commit is contained in:
Dominique Martinet 2018-06-27 18:16:49 +09:00
parent 649e084f41
commit e4bfb3bc98
5 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#ifndef _SWAY_DESKTOP_IDLE_INHIBIT_V1_H
#define _SWAY_DESKTOP_IDLE_INHIBIT_V1_H
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include "sway/server.h"
struct sway_idle_inhibitor_v1 {
struct sway_server *server;
struct wl_listener destroy;
};
#endif