diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-14 21:14:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 21:14:18 -0400 |
commit | df991a55ab23017d4c5d90d344d472e904dc682f (patch) | |
tree | b1c1ab11c651f0ec614446244bf29e371e6aa898 /include/wlr/interfaces | |
parent | 0210905eef94216c42a070b638c6f3e6d81512e2 (diff) | |
parent | cb293f09e774d179cdd3d9351a2834d473fd823c (diff) |
Merge pull request #1241 from emersion/output-enable-error-checking
output: make wlr_output_enable return a bool
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 2 |
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); |