mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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 <joshua@froggi.es>
This commit is contained in:
parent
f12617deea
commit
a67e74670b
1 changed files with 3 additions and 1 deletions
|
|
@ -213,7 +213,9 @@ map(struct view *view)
|
|||
view->been_mapped = true;
|
||||
}
|
||||
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue