diff options
author | emersion <contact@emersion.fr> | 2018-04-04 17:16:35 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-04 17:16:35 -0400 |
commit | 1a8b24bdd268a13bd2977356d6f2e872260709c3 (patch) | |
tree | 6e69de975ce11308f4de90ebd375f5a82a9afcbf /rootston | |
parent | d16127b3cb0dc58099f77fb2bf6070c4fe4eefb8 (diff) |
rootston: fix view_at
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 60426474..cfeb809b 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -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; |