aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 65961dd9..3de9879e 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -139,7 +139,7 @@ static void view_autoconfigure_floating(struct sway_view *view) {
int ly = output->y + (ws->height - height) / 2;
view->border_left = view->border_right = view->border_bottom = true;
- view_set_maximized(view, false);
+ view_set_tiled(view, false);
view_configure(view, lx, ly, width, height);
}
@@ -257,9 +257,9 @@ void view_set_activated(struct sway_view *view, bool activated) {
}
}
-void view_set_maximized(struct sway_view *view, bool maximized) {
- if (view->impl->set_maximized) {
- view->impl->set_maximized(view, maximized);
+void view_set_tiled(struct sway_view *view, bool tiled) {
+ if (view->impl->set_tiled) {
+ view->impl->set_tiled(view, tiled);
}
}