|
|
@ -284,7 +284,9 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
|
|
|
wlr_xdg_surface_get_geometry(xdg_surface, &new_geo);
|
|
|
|
wlr_xdg_surface_get_geometry(xdg_surface, &new_geo);
|
|
|
|
|
|
|
|
|
|
|
|
if ((new_geo.width != view->geometry.width ||
|
|
|
|
if ((new_geo.width != view->geometry.width ||
|
|
|
|
new_geo.height != view->geometry.height)) {
|
|
|
|
new_geo.height != view->geometry.height ||
|
|
|
|
|
|
|
|
new_geo.x != view->geometry.x ||
|
|
|
|
|
|
|
|
new_geo.y != view->geometry.y)) {
|
|
|
|
// The view has unexpectedly sent a new size
|
|
|
|
// The view has unexpectedly sent a new size
|
|
|
|
desktop_damage_view(view);
|
|
|
|
desktop_damage_view(view);
|
|
|
|
view_update_size(view, new_geo.width, new_geo.height);
|
|
|
|
view_update_size(view, new_geo.width, new_geo.height);
|
|
|
|