aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_output.h2
-rw-r--r--include/wlr/types/wlr_output.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h
index 1fbe3949..b885fd08 100644
--- a/include/types/wlr_output.h
+++ b/include/types/wlr_output.h
@@ -6,6 +6,8 @@
void output_pending_resolution(struct wlr_output *output,
const struct wlr_output_state *state, int *width, int *height);
+bool output_pending_enabled(struct wlr_output *output,
+ const struct wlr_output_state *state);
bool output_pick_format(struct wlr_output *output,
const struct wlr_drm_format_set *display_formats,
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index a71bf9ca..30331fba 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -170,7 +170,8 @@ struct wlr_output {
struct wl_signal precommit; // struct wlr_output_event_precommit
// Emitted right after commit
struct wl_signal commit; // struct wlr_output_event_commit
- // Emitted right after the buffer has been presented to the user
+ // Emitted right after a commit has been presented to the user for
+ // enabled outputs
struct wl_signal present; // struct wlr_output_event_present
// Emitted after a client bound the wl_output global
struct wl_signal bind; // struct wlr_output_event_bind