Merge branch 'error-on-no-layer-shell' into 'master'

Show error when compositor doesn't support Layer Shell

Closes #284

See merge request Librem5/squeekboard!466
This commit is contained in:
Dorota Czaplejewicz
2021-06-05 16:21:30 +00:00

View File

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