@@ 204,6 204,9 @@ static void do_cap(int64_t x, int64_t y,
}
}
+ x -= output->x;
+ y -= output->y;
+
struct zwlr_screencopy_frame_v1* frame;
if(width == 0 || height == 0) {
frame = zwlr_screencopy_manager_v1_capture_output(copy_manager, false, output->output);