Skip to content

Commit c2c62e7

Browse files
committed
window.c: Allow tiling in any monitor orientataion.
This limitation was inadvertantly restored. Fixes linuxmint/cinnamon#10957
1 parent 52a8192 commit c2c62e7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: src/core/window.c

-4
Original file line numberDiff line numberDiff line change
@@ -3501,10 +3501,6 @@ is_valid_tile_mode (MetaWindow *window, MetaTileMode mode)
35013501
monitor = meta_display_get_current_monitor (window->display);
35023502
meta_window_get_work_area_for_monitor (window, monitor, &tile_area);
35033503

3504-
/* Do not allow tiling in portrait orientation */
3505-
if (tile_area.height > tile_area.width)
3506-
return FALSE;
3507-
35083504
get_default_tile_fractions (mode, &hfraction, &vfraction);
35093505

35103506
tile_area.width *= hfraction;

0 commit comments

Comments
 (0)