Commit 83942c27 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

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

Show error when compositor doesn't support Layer Shell

Closes #284

See merge request !466
parents 29ef4f5b 9eb39715
Pipeline #68331 passed with stages
in 38 minutes and 22 seconds
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment