}
ssd_update_title(view);
view_discover_output(view);
- wlr_scene_node_set_position(&view->scene_tree->node, view->x, view->y);
}
#define MIN_VIEW_WIDTH (100)
if (view_compute_centered_position(view, view->w, view->h, &x, &y)) {
view_move(view, x, y);
}
- wlr_scene_node_set_position(&view->scene_tree->node, view->x, view->y);
}
static void
if (view->fullscreen) {
return;
}
- wlr_scene_node_set_position(&view->scene_tree->node, view->x, view->y);
if (view->impl->maximize) {
view->impl->maximize(view, maximize);
}
if (serial == view->xdg_surface->current.configure_serial) {
view->pending_move_resize.configure_serial = 0;
}
+ wlr_scene_node_set_position(&view->scene_tree->node,
+ view->x, view->y);
}
ssd_update_geometry(view);
damage_view_part(view);
/* Must receive commit signal before accessing surface->current* */
view->w = view->surface->current.width;
view->h = view->surface->current.height;
+ bool move_pending = view->pending_move_resize.update_x
+ || view->pending_move_resize.update_y;
if (view->pending_move_resize.update_x) {
view->x = view->pending_move_resize.x +
view->pending_move_resize.height - view->h;
view->pending_move_resize.update_y = false;
}
+ if (move_pending) {
+ wlr_scene_node_set_position(&view->scene_tree->node,
+ view->x, view->y);
+ }
ssd_update_geometry(view);
damage_view_whole(view);
}