Add support for wlr-output-power-management-unstable-v1

This commit is contained in:
Simon Ser 2020-01-27 18:39:29 +01:00 committed by Drew DeVault
parent e0f8235fbf
commit 5ed01c861a
6 changed files with 161 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_output_management_v1.h>
#include <wlr/types/wlr_output_power_management_v1.h>
#include <wlr/types/wlr_presentation_time.h>
#include <wlr/types/wlr_relative_pointer_v1.h>
#include <wlr/types/wlr_server_decoration.h>
@ -73,6 +74,9 @@ struct sway_server {
struct wl_listener output_manager_apply;
struct wl_listener output_manager_test;
struct wlr_output_power_manager_v1 *output_power_manager_v1;
struct wl_listener output_power_manager_set_mode;
size_t txn_timeout_ms;
list_t *transactions;
list_t *dirty_nodes;