Revert "compositor: Add public interface support for client-requested idle inhibition"
This reverts commit 689feced3c0022e8f5cce79df0b19cc370de6247.
(Accidental landing)
diff --git a/libweston/compositor.h b/libweston/compositor.h
index 673a4e8..7a53127 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -618,9 +618,8 @@
WESTON_COMPOSITOR_ACTIVE, /* normal rendering and events */
WESTON_COMPOSITOR_IDLE, /* shell->unlock called on activity */
WESTON_COMPOSITOR_OFFSCREEN, /* no rendering, no frame events */
- WESTON_COMPOSITOR_SLEEPING /* same as offscreen, but also
- * attempt to set dpms to off where
- * applicable */
+ WESTON_COMPOSITOR_SLEEPING /* same as offscreen, but also set dpms
+ * to off */
};
struct weston_layer_entry {
@@ -1159,7 +1158,8 @@
/*
* Indicates the surface prefers no screenblanking, screensaving,
- * or other automatic obscurement to kick in.
+ * or other automatic obscurement to kick in while the surface is
+ * considered "active" by the shell.
*/
bool inhibit_idling;