From d03f5b44d703dec9c92e55e255b6f8eadaf08b81 Mon Sep 17 00:00:00 2001 From: Kljunas2 Date: Sat, 21 May 2022 16:29:24 +0200 Subject: [PATCH] add warning for incompatible compositors --- src/activate_linux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/activate_linux.c b/src/activate_linux.c index 05d4090..be9ab8e 100644 --- a/src/activate_linux.c +++ b/src/activate_linux.c @@ -60,6 +60,10 @@ static void activate(GtkApplication *app, void *data) int main(int argc, char **argv) { + if (!gtk_layer_is_supported()) { + printf("Your compositor may not support gtk-layer-shell.\n"); + } + struct config conf; conf.title = "Activate Linux"; conf.subtitle = "Go to Settings to activate Linux.";