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AC 2GP4MXKEDQMZ7E6TCRSMV2AGN7HLEAHR3QEAC2QFCQQNPMNJSIHQC IWSIO23DR44ZS2MBV66XNR2MIDID2KUNBRUTCEQRE4P5OMVZHSNAC CSPAH4L2TN5OJPO5VXUUBKKBUQLSEZITRDTYA3YLZQE35KUN7PYAC Q3BFKMS4YCHJ66QGNXGPCBEL5HOL5VXNJNR7MZEY4TPO2XH2C4KAC KZZ5LJHBHFEDJPJEFFXY6LHABTMPE3LUO2VCH2I4VRGLE2QYRR5QC KSU7NI4ZRW6YORQTAUVG3YSBSDM55RF6SG2SMOTW7SNAQFEHFVBQC layers[LyrDragIcon] = wlr_scene_tree_create(&scene->tree);
/* First remove from the layout the disabled monitors */wl_list_for_each(m, &mons, link) {if (m->wlr_output->enabled)continue;config_head = wlr_output_configuration_head_v1_create(config, m->wlr_output);config_head->state.enabled = 0;/* Remove this output from the layout to avoid cursor enter inside it */wlr_output_layout_remove(output_layout, m->wlr_output);closemon(m);memset(&m->m, 0, sizeof(m->m));memset(&m->w, 0, sizeof(m->w));}/* Insert outputs that need to */wl_list_for_each(m, &mons, link)if (m->wlr_output->enabled&& !wlr_output_layout_get(output_layout, m->wlr_output))wlr_output_layout_add_auto(output_layout, m->wlr_output);/* Now that we update the output layout we can get its box */
/* First remove from the layout the disabled monitors */wl_list_for_each(m, &mons, link) {if (m->wlr_output->enabled)continue;config_head = wlr_output_configuration_head_v1_create(config, m->wlr_output);config_head->state.enabled = 0;/* Remove this output from the layout to avoid cursor enter inside it */wlr_output_layout_remove(output_layout, m->wlr_output);closemon(m);memset(&m->m, 0, sizeof(m->m));memset(&m->w, 0, sizeof(m->w));}/* Insert outputs that need to */wl_list_for_each(m, &mons, link)if (m->wlr_output->enabled&& !wlr_output_layout_get(output_layout, m->wlr_output))wlr_output_layout_add_auto(output_layout, m->wlr_output);/* Now that we update the output layout we can get its box */if (client_is_unmanaged(c)) {if (c == exclusive_focus)exclusive_focus = NULL;if (client_surface(c) == seat->keyboard_state.focused_surface)focusclient(selclient(), 1);} else {wl_list_remove(&c->link);setmon(c, NULL, 0);wl_list_remove(&c->flink);}wl_list_remove(&c->commit.link);/* Ideally we should do this in createnotify{,x11} but at that moment* wlr_xwayland_surface doesn't have wlr_surface yet*/LISTEN(&client_surface(c)->events.commit, &c->commit, commitnotify);}