From: Joshua Ashton Date: Sun, 17 Oct 2021 01:39:19 +0000 (+0000) Subject: xwayland: Only perform top-left boundary check when using ssd X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a67e74670b581a8abbd7542a3c41f97a721e89f1;p=proto%2Flabwc.git xwayland: Only perform top-left boundary check when using ssd We don't have decorations so we shouldn't account for them. Closes: #53 Signed-off-by: Joshua Ashton --- diff --git a/src/xwayland.c b/src/xwayland.c index 6e08fc46..bd9966f6 100644 --- a/src/xwayland.c +++ b/src/xwayland.c @@ -213,7 +213,9 @@ map(struct view *view) view->been_mapped = true; } - top_left_edge_boundary_check(view); + if (view->ssd.enabled) { + top_left_edge_boundary_check(view); + } /* Add commit here, as xwayland map/unmap can change the wlr_surface */ wl_signal_add(&view->xwayland_surface->surface->events.commit,