diff --git a/src/display-wayland.cc b/src/display-wayland.cc index 880b31d25..9693a4663 100644 --- a/src/display-wayland.cc +++ b/src/display-wayland.cc @@ -576,6 +576,9 @@ bool display_output_wayland::initialize() { wl_registry_add_listener(wl_globals.registry, ®istry_listener, NULL); wl_display_roundtrip(global_display); + if (wl_globals.layer_shell == nullptr) { + CRIT_ERR("Compositor doesn't support wlr-layer-shell-unstable-v1. Can't run conky."); + } struct wl_surface *surface = wl_compositor_create_surface(wl_globals.compositor);