add warning for incompatible compositors

This commit is contained in:
2022-05-21 16:29:24 +02:00
parent 2f245c4f6e
commit d03f5b44d7

View File

@@ -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.";