aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-17 20:48:01 -0500
committerGitHub <noreply@github.com>2017-12-17 20:48:01 -0500
commitf3769a4b1f552b7dc826418e78b88bffe277c2c4 (patch)
treefe07e6a1333f8f96a9075deb26e3ea96519e618b /include/wlr/interfaces
parent10c72f4bf6202bfce89e5a40b03475dd28cd68df (diff)
parentb99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f (diff)
Merge pull request #496 from emersion/headless-backend
Headless backend
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 1cfe7568..6d71f9b6 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -28,8 +28,10 @@ struct wlr_output_impl {
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
const struct wlr_output_impl *impl);
void wlr_output_free(struct wlr_output *output);
-void wlr_output_update_size(struct wlr_output *output, int32_t width,
- int32_t height);
+void wlr_output_update_mode(struct wlr_output *output,
+ struct wlr_output_mode *mode);
+void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width,
+ int32_t height, int32_t refresh);
struct wl_global *wlr_output_create_global(struct wlr_output *wlr_output,
struct wl_display *display);
void wlr_output_destroy_global(struct wlr_output *wlr_output);