diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-11 08:32:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 08:32:18 -0500 |
commit | 808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (patch) | |
tree | dbed215e4f235d2458cbab2bbff512dcad0f11a2 /include/wlr/interfaces | |
parent | 301850ec5d1a65aed87734583ed0868694f1913a (diff) | |
parent | 529675b7b04a2598f7701d2e05567d8249ea1cfb (diff) |
Merge pull request #481 from emersion/custom-mode
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, |