aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-02-23 13:18:05 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-02-23 13:18:05 +0100
commit67285c1d5758526688f0023e27c4a6b24730a2fa (patch)
tree0dca3cdfec3949386dbe24696cd0e3c5f0ad5b22 /include
parent87a7afb64161131beb1063ab4796591bb361db3c (diff)
idle-inhibit: style adjustments and motivation
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_idle_inhibit_v1.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_idle_inhibit_v1.h b/include/wlr/types/wlr_idle_inhibit_v1.h
index c06a82e8..a777ff43 100644
--- a/include/wlr/types/wlr_idle_inhibit_v1.h
+++ b/include/wlr/types/wlr_idle_inhibit_v1.h
@@ -3,6 +3,18 @@
#include <wayland-server.h>
+/* This interface permits clients to inhibit the idle behavior such as
+ * screenblanking, locking, and screensaving.
+ *
+ * This allows clients to ensure they stay visible instead of being hidden by
+ * power-saving.
+ *
+ * Inhibitors are created for surfaces. They should only be in effect, while
+ * this surface is visible.
+ * The effect could also be limited to outputs it is displayed on (e.g.
+ * dimm/dpms off outputs, except the one a video is displayed on).
+ */
+
struct wlr_idle_inhibit_manager_v1 {
struct wl_list wl_resources; // wl_resource_get_link
struct wl_list inhibitors; // wlr_idle_inhibit_inhibitor_v1::link