Show error when Layer Shell is not supported

This commit is contained in:
William Wold
2021-06-03 11:39:45 -07:00
parent 9b52edbf99
commit 9eb397151f

View File

@ -283,6 +283,10 @@ main (int argc, char **argv)
g_error("No virtual keyboard manager Wayland global available."); g_error("No virtual keyboard manager Wayland global available.");
exit(1); exit(1);
} }
if (!instance.wayland.layer_shell) {
g_error("No layer shell global available.");
exit(1);
}
if (!instance.wayland.input_method_manager) { if (!instance.wayland.input_method_manager) {
g_warning("Wayland input method interface not available"); g_warning("Wayland input method interface not available");