mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
rootston: fix view_at
This commit is contained in:
parent
d16127b3cb
commit
1a8b24bdd2
3 changed files with 10 additions and 9 deletions
|
|
@ -608,7 +608,7 @@ static bool view_at(struct roots_view *view, double lx, double ly,
|
|||
double _sx, _sy;
|
||||
struct wlr_surface *_surface = wlr_surface_surface_at(view->wlr_surface,
|
||||
view_sx, view_sy, &_sx, &_sy);
|
||||
if (surface != NULL) {
|
||||
if (_surface != NULL) {
|
||||
*sx = _sx;
|
||||
*sy = _sy;
|
||||
*surface = _surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue