diff options
author | emersion <contact@emersion.fr> | 2017-12-11 12:14:23 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-11 12:14:23 +0100 |
commit | 529675b7b04a2598f7701d2e05567d8249ea1cfb (patch) | |
tree | dbed215e4f235d2458cbab2bbff512dcad0f11a2 /include/wlr/interfaces | |
parent | 301850ec5d1a65aed87734583ed0868694f1913a (diff) |
Add wlr_output_set_custom_mode
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index b4f39d35..dc2a867b 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -9,6 +9,8 @@ struct wlr_output_impl { void (*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); void (*transform)(struct wlr_output *output, enum wl_output_transform transform); bool (*set_cursor)(struct wlr_output *output, const uint8_t *buf, |