aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-27 13:28:43 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-27 13:28:43 -0400
commitcbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c (patch)
treef4207749074a611f47ebd1a69bd0bb25923351dc /sway/desktop/output.c
parentMerge pull request #1626 from emersion/wlroots-update (diff)
downloadsway-cbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c.tar.gz
sway-cbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c.tar.zst
sway-cbb2e3308e66c2e5b1852c7475e3f40a5bbdca1c.zip
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) {
187 187
188 int buffer_age = -1; 188 int buffer_age = -1;
189 wlr_output_make_current(wlr_output, &buffer_age); 189 wlr_output_make_current(wlr_output, &buffer_age);
190 wlr_renderer_begin(server->renderer, wlr_output); 190 wlr_renderer_begin(server->renderer, wlr_output->width, wlr_output->height);
191 191
192 struct sway_seat *seat = input_manager_current_seat(input_manager); 192 struct sway_seat *seat = input_manager_current_seat(input_manager);
193 swayc_t *focus = sway_seat_get_focus_inactive(seat, soutput->swayc); 193 swayc_t *focus = sway_seat_get_focus_inactive(seat, soutput->swayc);