fix XDG surfaces being too XD

This commit is contained in:
vaxerski 2022-03-24 19:14:09 +01:00
parent 3d41dd6c25
commit 5d93fdfd8f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
wlr_box windowBox;
if (RDATA->surface) {
if (RDATA->surface && surface == RDATA->surface) {
windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, RDATA->w, RDATA->h};
wlr_renderer_scissor(g_pCompositor->m_sWLRRenderer, &windowBox);
} else {