diff --git a/sway/tree/container.c b/sway/tree/container.c index ea1c93bb6..2f7801238 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -438,11 +438,6 @@ struct sway_container *container_at(struct sway_container *parent, view_sx, view_sy, &_sx, &_sy); break; case SWAY_VIEW_XDG_SHELL_V6: - // the top left corner of the sway container is the - // coordinate of the top left corner of the window geometry - view_sx += sview->wlr_xdg_surface_v6->geometry.x; - view_sy += sview->wlr_xdg_surface_v6->geometry.y; - _surface = wlr_xdg_surface_v6_surface_at( sview->wlr_xdg_surface_v6, view_sx, view_sy, &_sx, &_sy);