summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 0c79ef2..1feefda 100644
--- a/src/main.c
+++ b/src/main.c
@@ -647,11 +647,11 @@ static void registry_global(
3);
log_debug("Bound to data device manager %u.\n", name);
} else if (!strcmp(interface, zwlr_layer_shell_v1_interface.name)) {
- if (version < 4) {
+ if (version < 3) {
log_warning("Using an outdated compositor, "
"screen anchoring may not work.\n");
} else {
- version = 4;
+ version = 3;
}
tofi->zwlr_layer_shell = wl_registry_bind(
wl_registry,