aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootston/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 0668d8cb..c2e424cf 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -682,7 +682,7 @@ struct wlr_surface *desktop_surface_at(struct roots_desktop *desktop,
struct wlr_surface *surface = NULL;
struct wlr_output *wlr_output =
wlr_output_layout_output_at(desktop->layout, lx, ly);
- struct roots_output *roots_output;
+ struct roots_output *roots_output = NULL;
double ox = lx, oy = ly;
*view = NULL;