QD3NDIJ4CRDN6QGCHALU2UG5DPMAYGE4MSGJPLYVXKLZNCV2WGIAC MEMJUZF3HSX3M747YTV4LVUCOPRIS75IXAVXZIWLCZN2BHPUZHEQC MMCQLXIFYBYY3MTEIZDI7SI7D4QN4NM7EIGYGHFA43IN7NOERBLAC 7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC ZEKBZDRVZJFHG75HZQVVQHO4G7RIY5OZTSI5G3BWIF566BRQBXHAC 6XZIQSMIVP2GZ5S3UCKEVNDSLTHSQEVSXLV4UIFF3G3SRCGJPXYAC MO5ORR7VSER3YUNO77DZJVKGOVYC2KNDCSC72J4NF7JYOHHTLRQAC QZMVQBECVOMC7FLPGMBPGJJF2RMWGYLDRINSVRZBDLDC4BM252EAC 24NXTKJNNOM6P3OPCN7OZE6LGGMFKRWFR6NUZ5JKETRABZA4YAGQC }voidsetmon(Client *c, Monitor *m){if (c->mon == m)return;int hadfocus = (c == selclient());/* XXX leave/enter should be in resize and check all outputs */if (c->mon)wlr_surface_send_leave(c->xdg_surface->surface, c->mon->wlr_output);c->mon = m;if (m) {/* Make sure window actually overlaps with the monitor */applybounds(c, &m->m);wlr_surface_send_enter(c->xdg_surface->surface, m->wlr_output);c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */}/* Focus can change if c is the top of selmon before or after */if (hadfocus || c == selclient())refocus();
}voidsetmon(Client *c, Monitor *m){if (c->mon == m)return;int hadfocus = (c == selclient());/* XXX leave/enter should be in resize and check all outputs */if (c->mon)wlr_surface_send_leave(c->xdg_surface->surface, c->mon->wlr_output);c->mon = m;if (m) {/* Make sure window actually overlaps with the monitor */applybounds(c, &m->m);wlr_surface_send_enter(c->xdg_surface->surface, m->wlr_output);c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */}/* Focus can change if c is the top of selmon before or after */if (hadfocus || c == selclient())refocus();