Fixed broken damage
@@ -93,9 +93,13 @@ void wc_view_damage(struct wc_view *view, pixman_region32_t *damage) {
for (size_t i = 0; i < 4; i++) {
struct wlr_output *output = outputs[i];
+ struct wlr_box *output_box =
+ wlr_output_layout_get_box(view->server->output_layout, output);
if (output) {
struct wlr_box view_output_geo = {
+ .x = view->geo.x - output_box->x,
+ .y = view->geo.y - output_box->y,
.width = view->geo.width,
.height = view->geo.height,
};
