Skip to content

Commit

Permalink
simple-tile: do not tile views with min==max size
Browse files Browse the repository at this point in the history
Fixes #2243
  • Loading branch information
ammen99 committed Apr 3, 2024
1 parent feb5e14 commit 41d398c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/tile/tile-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ static bool can_tile_view(wayfire_toplevel_view view)
return false;
}

if ((view->toplevel()->get_min_size() == view->toplevel()->get_max_size()) &&
(view->toplevel()->get_min_size().width > 0) && (view->toplevel()->get_min_size().height > 0))
{
return false;
}

return true;
}

Expand Down

0 comments on commit 41d398c

Please sign in to comment.