output: make wlr_output_enable return a bool

This commit is contained in:
emersion 2018-09-14 18:18:07 +02:00
parent 769a8e9917
commit cb293f09e7
5 changed files with 16 additions and 10 deletions

View file

@ -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);