aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-14 18:18:07 +0200
committeremersion <contact@emersion.fr>2018-09-14 18:18:07 +0200
commitcb293f09e774d179cdd3d9351a2834d473fd823c (patch)
tree2225a68306738225bc4419a745c4d2e3ff18afae /include/wlr/interfaces
parent769a8e9917ab0f04404843fb712a6b0b0434c966 (diff)
output: make wlr_output_enable return a bool
Diffstat (limited to 'include/wlr/interfaces')
-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);