summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.h b/client.h
index 2ffb92c..0fdd774 100644
--- a/client.h
+++ b/client.h
@@ -364,7 +364,7 @@ client_set_tiled(Client *c, uint32_t edges)
>= XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION) {
wlr_xdg_toplevel_set_tiled(c->surface.xdg->toplevel, edges);
} else {
- wlr_xdg_toplevel_set_maximized(c->surface.xdg->toplevel, edges != 0);
+ wlr_xdg_toplevel_set_maximized(c->surface.xdg->toplevel, edges != WLR_EDGE_NONE);
}
}