summaryrefslogtreecommitdiff
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-03-27 13:28:43 -0400
committerDrew DeVault <[email protected]>2018-03-27 13:28:43 -0400
commitcbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c (patch)
treef4207749074a611f47ebd1a69bd0bb25923351dc /sway/desktop/output.c
parentd5a8a879b65e4d83dbd1e7d87e9ef20ffd4b657f (diff)
Update API to match latest wlroots
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 96635db4..6c990c47 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -187,7 +187,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
int buffer_age = -1;
wlr_output_make_current(wlr_output, &buffer_age);
- wlr_renderer_begin(server->renderer, wlr_output);
+ wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height);
struct sway_seat *seat = input_manager_current_seat(input_manager);
swayc_t *focus = sway_seat_get_focus_inactive(seat, soutput->swayc);