mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 06:31:57 -07:00
fix XDG surfaces being too XD
This commit is contained in:
@@ -20,7 +20,7 @@ void renderSurface(struct wlr_surface* surface, int x, int y, void* data) {
|
|||||||
|
|
||||||
|
|
||||||
wlr_box windowBox;
|
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};
|
windowBox = {(int)outputX + RDATA->x + x, (int)outputY + RDATA->y + y, RDATA->w, RDATA->h};
|
||||||
wlr_renderer_scissor(g_pCompositor->m_sWLRRenderer, &windowBox);
|
wlr_renderer_scissor(g_pCompositor->m_sWLRRenderer, &windowBox);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user