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HPDATY5DQD77DAC J7X4HM2XFWYAEAYYXGTUKHNBZ4JZX64BZW5WUYAHEUPXYPWFUMRAC FNGIZYDU5274CDE27IONZBA4JMXI4SQXEDIVTMVESK7A44XIJ7FAC 2QL2H4REDZT46FI3LQ4RYEMQYZBNBK3IC3KH3XERAJU3NCZWMNYQC LQPHYO7IIMLXHUD5IK657BO4BE3SGT5HYDRJDU5OFDF5YUXKIRTAC XHVBTXWGXGOVHLFX57RQI54NP2OY3BYI42K4ZODZDHXVZ2VF5YTQC wlr_output_layout_add(output_layout, wlr_output, r->x, r->y);sgeom = *wlr_output_layout_get_box(output_layout, NULL);/* When adding monitors, the geometries of all monitors must be updated */wl_list_for_each(m, &mons, link) {/* The first monitor in the list is the most recently added */Client *c;wl_list_for_each(c, &clients, link) {if (c->isfloating)resize(c, c->geom.x + m->w.width, c->geom.y,c->geom.width, c->geom.height, 0);}return;}
m->scene_output = wlr_scene_output_create(scene, wlr_output);wlr_output_layout_add_auto(output_layout, wlr_output);
/* HACK: This loop is the simplest way to handle ephemeral pageflip* failures but probably not the best. Revisit if damage tracking is* added. */do {/* wlr_output_attach_render makes the OpenGL context current. */if (!wlr_output_attach_render(m->wlr_output, NULL))return;if (!skip) {/* Begin the renderer (calls glViewport and some other GL sanity checks) */wlr_renderer_begin(drw, m->wlr_output->width, m->wlr_output->height);wlr_renderer_clear(drw, rootcolor);
if (!skip && !wlr_scene_output_commit(m->scene_output))return;
/* Render the scene at (-mx, -my) to get this monitor's view.* wlroots will not render windows falling outside the box. */wlr_scene_render_output(scene, m->wlr_output, -m->m.x, -m->m.y, NULL);/* Conclude rendering and swap the buffers, showing the final frame* on-screen. */wlr_renderer_end(drw);}} while (!wlr_output_commit(m->wlr_output));