FIx crash on touch down

This commit is contained in:
Drew DeVault 2018-03-31 09:55:41 -04:00
parent 6eb72a1ae5
commit 937362b552
1 changed files with 3 additions and 1 deletions

View File

@ -684,7 +684,9 @@ struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop,
wlr_output_layout_output_at(desktop->layout, lx, ly);
struct roots_output *roots_output = NULL;
double ox = lx, oy = ly;
*view = NULL;
if (view) {
*view = NULL;
}
if (wlr_output) {
roots_output = wlr_output->data;