mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 14:45:58 +01:00
parent
c4f52d1979
commit
2a2da6082e
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ static void renderSurface(struct wlr_surface* surface, int x, int y, void* data)
|
|||
|
||||
// however, if surface buffer w / h < box, we need to adjust them
|
||||
auto* const PSURFACE = CWLSurface::surfaceFromWlr(surface);
|
||||
const auto PWINDOW = PSURFACE->getWindow();
|
||||
const auto PWINDOW = PSURFACE ? PSURFACE->getWindow() : nullptr;
|
||||
|
||||
if (PSURFACE && !PSURFACE->m_bFillIgnoreSmall && PSURFACE->small() /* guarantees PWINDOW */) {
|
||||
const auto CORRECT = PSURFACE->correctSmallVec();
|
||||
|
|
Loading…
Reference in a new issue