mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 19:29:49 +01:00
fix XDG surfaces being too XD
This commit is contained in:
parent
3d41dd6c25
commit
5d93fdfd8f
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue