summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 30d5c7b4..6e589611 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -138,7 +138,6 @@ static void view_autoconfigure_floating(struct sway_view *view) {
138 int ly = ws->y + (ws->height - height) / 2; 138 int ly = ws->y + (ws->height - height) / 2;
139 139
140 view->border_left = view->border_right = view->border_bottom = true; 140 view->border_left = view->border_right = view->border_bottom = true;
141 view_set_tiled(view, false);
142 view_configure(view, lx, ly, width, height); 141 view_configure(view, lx, ly, width, height);
143} 142}
144 143
@@ -255,12 +254,6 @@ void view_set_activated(struct sway_view *view, bool activated) {
255 } 254 }
256} 255}
257 256
258void view_set_tiled(struct sway_view *view, bool tiled) {
259 if (view->impl->set_tiled) {
260 view->impl->set_tiled(view, tiled);
261 }
262}
263
264// Set fullscreen, but without IPC events or arranging windows. 257// Set fullscreen, but without IPC events or arranging windows.
265void view_set_fullscreen_raw(struct sway_view *view, bool fullscreen) { 258void view_set_fullscreen_raw(struct sway_view *view, bool fullscreen) {
266 if (view->is_fullscreen == fullscreen) { 259 if (view->is_fullscreen == fullscreen) {