aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-01-27 18:39:29 +0100
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-02-26 16:26:13 +0100
commit5ed01c861a2e720d53b42f707872dbfb36b2fce7 (patch)
treef79301865db7d1707fe58c57ceadf3715295acd3 /include/sway/server.h
parentRevert "Don't apply exclusive zones of unmapped layer-shell surfaces" (diff)
downloadsway-5ed01c861a2e720d53b42f707872dbfb36b2fce7.tar.gz
sway-5ed01c861a2e720d53b42f707872dbfb36b2fce7.tar.zst
sway-5ed01c861a2e720d53b42f707872dbfb36b2fce7.zip
Add support for wlr-output-power-management-unstable-v1
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 2e8e4633..65bd6429 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -9,6 +9,7 @@
9#include <wlr/types/wlr_data_device.h> 9#include <wlr/types/wlr_data_device.h>
10#include <wlr/types/wlr_layer_shell_v1.h> 10#include <wlr/types/wlr_layer_shell_v1.h>
11#include <wlr/types/wlr_output_management_v1.h> 11#include <wlr/types/wlr_output_management_v1.h>
12#include <wlr/types/wlr_output_power_management_v1.h>
12#include <wlr/types/wlr_presentation_time.h> 13#include <wlr/types/wlr_presentation_time.h>
13#include <wlr/types/wlr_relative_pointer_v1.h> 14#include <wlr/types/wlr_relative_pointer_v1.h>
14#include <wlr/types/wlr_server_decoration.h> 15#include <wlr/types/wlr_server_decoration.h>
@@ -73,6 +74,9 @@ struct sway_server {
73 struct wl_listener output_manager_apply; 74 struct wl_listener output_manager_apply;
74 struct wl_listener output_manager_test; 75 struct wl_listener output_manager_test;
75 76
77 struct wlr_output_power_manager_v1 *output_power_manager_v1;
78 struct wl_listener output_power_manager_set_mode;
79
76 size_t txn_timeout_ms; 80 size_t txn_timeout_ms;
77 list_t *transactions; 81 list_t *transactions;
78 list_t *dirty_nodes; 82 list_t *dirty_nodes;