Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/view/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1784,12 +1784,6 @@ namespace umbriel {
m_unfullscreenGraceStartMsec = 0;
}
cancelSizeAnimation();
if (m_tiled && m_workspace != nullptr && maximized) {
const int column = m_workspace->layout().columnOf(this);
if (column >= 0 && m_workspace->layout().isFullWidth(column)) {
m_workspace->layout().clearFullWidthState(column);
}
}

m_maximizedToEdges = maximized;
if (m_tiled) {
Expand Down Expand Up @@ -2124,15 +2118,6 @@ namespace umbriel {
if (!fullscreen) {
m_refullscreenOnTile = false;
}
// Leaving column maximize when entering real fullscreen avoids a stale
// widthFrac=1.0 column after the client leaves fullscreen.
if (fullscreen && m_tiled && m_workspace != nullptr) {
const int column = m_workspace->layout().columnOf(this);
if (m_workspace->layout().isFullWidth(column)) {
m_workspace->layout().clearFullWidthState(column);
wlr_xdg_toplevel_set_maximized(m_toplevel, false);
}
}
if (fullscreen) {
if (m_pinned) {
m_pinned = false;
Expand Down