fcc80407ea
We want to use as much space as possible for showing window previews in the overview, and the title and close buttons of those windows are only visible on hover, so we can show them above anything if we want. On both primary monitors and secondary monitors, there's a certain free space available towards the bottom edge of the monitor (on the primary monitor we show the dash there, and secondary monitors just scale down the Workspaces). We can make use of this by checking how much free space there is available from the bottom edge of our allocation to the bottom edge of the monitor, and then aligning the window previews to make full use of this space. So stop adding any padding to the edges of the Workspace, which will make the windows a lot larger and completely fill the Workspaces allocation. The left, top and right monitor edges should always be far enough away to accomodate the close button and hover scale-up of the window. Only with the bottom edge of the monitor we have to be a bit more careful (the overflowing height of the window title is quite big), so there we check if enough free space is available. If there isn't enough free space, we simply apply a bit of bottom padding again and shift the window up. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1813> |
||
---|---|---|
.gitlab/issue_templates | ||
.gitlab-ci | ||
.settings | ||
data | ||
docs/reference | ||
js | ||
lint | ||
man | ||
meson | ||
po | ||
src | ||
subprojects | ||
tests | ||
tools | ||
.eslintrc.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
config.h.meson | ||
COPYING | ||
gnome-shell.doap | ||
HACKING.md | ||
meson_options.txt | ||
meson.build | ||
NEWS | ||
README.md |
GNOME Shell
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.
For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.
Bugs should be reported to the GNOME bug tracking system. Please refer to the Schedule wiki page to see the supported versions.
Contributing
To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell.
Commit messages should follow the GNOME commit message guidelines. We require an URL to either an issue or a merge request in each commit.
License
GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.