aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/interfaces/wlr_output.h')
-rw-r--r--include/wlr/interfaces/wlr_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 4860a5b6..4cbf0d67 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -15,7 +15,7 @@
#include <wlr/types/wlr_output.h>
struct wlr_output_impl {
- void (*enable)(struct wlr_output *output, bool enable);
+ bool (*enable)(struct wlr_output *output, bool enable);
bool (*set_mode)(struct wlr_output *output, struct wlr_output_mode *mode);
bool (*set_custom_mode)(struct wlr_output *output, int32_t width,
int32_t height, int32_t refresh);