dda23fc4c6
Window previews looks slightly offset to the left and top right now because we don't use the same padding on all edges of the Workspace. We do that because the oversize and overlap of the window previews is different on all sides (for example the bottom overlap is very large because there we show the window title). To make sure window previews are always perfectly centered on the Workspace, only use the largest one of the oversize values as spacing and padding, and add the larger one of the overlap values for the vertical padding in addition. With this, we now center the window previews on the Workspace while never overpainting the allocation of that Workspace to show overlays. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3634 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1670> |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |