Merge pull request #641 from Ongy/idle-inhibit

Add idle-inhibit implementation
This commit is contained in:
Tony Crisci 2018-02-24 10:15:18 -05:00 committed by GitHub
commit b7b86a9591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 480 additions and 0 deletions

View file

@ -16,6 +16,10 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include "rootston/view.h"
#include "rootston/config.h"
#include "rootston/output.h"
#include "rootston/view.h"
@ -41,6 +45,7 @@ struct roots_desktop {
struct wlr_server_decoration_manager *server_decoration_manager;
struct wlr_primary_selection_device_manager *primary_selection_device_manager;
struct wlr_idle *idle;
struct wlr_idle_inhibit_manager_v1 *idle_inhibit;
struct wl_listener new_output;
struct wl_listener layout_change;