1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 00:24:17 +01:00

Fix xwayland configure position

This commit is contained in:
emersion 2018-03-31 10:28:01 -04:00
parent eb5a8e03ff
commit 6579717994
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -67,13 +67,10 @@ static void set_position(struct sway_view *view, double ox, double oy) {
view->swayc->x = ox;
view->swayc->y = oy;
if (view->width == 0 || view->height == 0) {
return;
}
wlr_xwayland_surface_configure(view->wlr_xwayland_surface,
ox + loutput->x, oy + loutput->y,
view->width, view->height);
view->wlr_xwayland_surface->width,
view->wlr_xwayland_surface->height);
}
static void set_activated(struct sway_view *view, bool activated) {