diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2019-08-09 16:23:10 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-12 09:37:21 +0900 |
commit | e7f1aa30dd9126eadcb6e41d757a2923ab947243 (patch) | |
tree | c3d943b48eff1557f3ef6231898ef932f38ba633 /backend | |
parent | 217cf18a4b971cab591381a91ca1ae936daa8318 (diff) |
backend/wayland: check if zxdg_toplevel_decoration_v1 is not NULL
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c index b179a5f6..1d697d9a 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -319,7 +319,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) { output->zxdg_toplevel_decoration_v1 = zxdg_decoration_manager_v1_get_toplevel_decoration( backend->zxdg_decoration_manager_v1, output->xdg_toplevel); - if (!output->xdg_toplevel) { + if (!output->zxdg_toplevel_decoration_v1) { wlr_log_errno(WLR_ERROR, "Could not get xdg toplevel decoration"); goto error; } |