diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 8 |
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) { | |||
139 | int ly = output->y + (ws->height - height) / 2; | 139 | int ly = output->y + (ws->height - height) / 2; |
140 | 140 | ||
141 | view->border_left = view->border_right = view->border_bottom = true; | 141 | view->border_left = view->border_right = view->border_bottom = true; |
142 | view_set_maximized(view, false); | 142 | view_set_tiled(view, false); |
143 | view_configure(view, lx, ly, width, height); | 143 | view_configure(view, lx, ly, width, height); |
144 | } | 144 | } |
145 | 145 | ||
@@ -257,9 +257,9 @@ void view_set_activated(struct sway_view *view, bool activated) { | |||
257 | } | 257 | } |
258 | } | 258 | } |
259 | 259 | ||
260 | void view_set_maximized(struct sway_view *view, bool maximized) { | 260 | void view_set_tiled(struct sway_view *view, bool tiled) { |
261 | if (view->impl->set_maximized) { | 261 | if (view->impl->set_tiled) { |
262 | view->impl->set_maximized(view, maximized); | 262 | view->impl->set_tiled(view, tiled); |
263 | } | 263 | } |
264 | } | 264 | } |
265 | 265 | ||