mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
xdg-shell: use wlr_xdg_toplevel in sway_view
Improved type safety. Closes: https://github.com/swaywm/sway/issues/6813
This commit is contained in:
parent
5c00f1f113
commit
f795aa1c95
3 changed files with 40 additions and 56 deletions
|
|
@ -194,7 +194,7 @@ static struct sway_container *surface_at_view(struct sway_container *con, double
|
|||
#endif
|
||||
case SWAY_VIEW_XDG_SHELL:
|
||||
_surface = wlr_xdg_surface_surface_at(
|
||||
view->wlr_xdg_surface,
|
||||
view->wlr_xdg_toplevel->base,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue