mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
view: read xwayland_surface->{w,h} in .commit
This commit is contained in:
parent
17f7ef53be
commit
db02ef86b1
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ struct wlr_box view_get_surface_geometry(struct view *view)
|
|||
wlr_xdg_surface_get_geometry(view->xdg_surface, &box);
|
||||
break;
|
||||
case LAB_XWAYLAND_VIEW:
|
||||
box.width = view->xwayland_surface->width;
|
||||
box.height = view->xwayland_surface->height;
|
||||
box.width = view->w;
|
||||
box.height = view->h;
|
||||
break;
|
||||
}
|
||||
return box;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue