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