Commit c7662301 authored by Florian Müllner's avatar Florian Müllner
Browse files

window-list: Only show previews for up to six workspaces

On request of GNOME Classic users, we add GNOME2-like workspace previews
when using a horizontal workspace layout. The previews scale a lot worse
than the menu though, with the risk that they take up all the available
width in extreme cases.

Address this by also taking the number of workspaces into account, and
switch to the menu when we have more than six.

This is particularly important now that we switched to a horizontal
layout by default.

Part-of: <!165>
parent bb2b1204
Pipeline #264587 passed with stages
in 50 seconds