diff options
author | emersion <contact@emersion.fr> | 2018-04-05 13:41:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 13:41:39 -0400 |
commit | b6482bacf469326b8634bb1e78a96bb91556617f (patch) | |
tree | 9a2978b19dd44b0ca55129fd767db3c03028188e /rootston/desktop.c | |
parent | c168665043e7c0585652ff414793e44351fc72de (diff) | |
parent | 74a4b1702bb32732b0bc7b0c54a6e8f340c7cdd8 (diff) |
Merge pull request #832 from turlando/fix/rootston-uninitialized-variable
Initialize rootston _surface
Diffstat (limited to 'rootston/desktop.c')
-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 e9c1ed30..d4c449f4 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -578,7 +578,7 @@ static bool view_at(struct roots_view *view, double lx, double ly, } double _sx, _sy; - struct wlr_surface *_surface; + struct wlr_surface *_surface = NULL; switch (view->type) { case ROOTS_XDG_SHELL_V6_VIEW: _surface = wlr_xdg_surface_v6_surface_at(view->xdg_surface_v6, |