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

@ -10,6 +10,7 @@
#include <wlr/types/wlr_gamma_control.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_server_decoration.h>
#include <wlr/types/wlr_wl_shell.h>
@ -703,6 +704,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
desktop->primary_selection_device_manager =
wlr_primary_selection_device_manager_create(server->wl_display);
desktop->idle = wlr_idle_create(server->wl_display);
desktop->idle_inhibit = wlr_idle_inhibit_v1_create(server->wl_display);
return desktop;
}