Don't unmaximize floating views

This commit is contained in:
Ryan Dwyer 2018-05-27 23:43:05 +10:00
parent 40af5d81a1
commit 97672295ed
6 changed files with 0 additions and 40 deletions

View file

@ -138,7 +138,6 @@ static void view_autoconfigure_floating(struct sway_view *view) {
int ly = ws->y + (ws->height - height) / 2;
view->border_left = view->border_right = view->border_bottom = true;
view_set_tiled(view, false);
view_configure(view, lx, ly, width, height);
}
@ -255,12 +254,6 @@ void view_set_activated(struct sway_view *view, bool activated) {
}
}
void view_set_tiled(struct sway_view *view, bool tiled) {
if (view->impl->set_tiled) {
view->impl->set_tiled(view, tiled);
}
}
// Set fullscreen, but without IPC events or arranging windows.
void view_set_fullscreen_raw(struct sway_view *view, bool fullscreen) {
if (view->is_fullscreen == fullscreen) {