Skip to content

Add auto-maximize option when window fills the screen#430

Merged
schnz merged 10 commits intogTile:masterfrom
itsfernn:maximize_alt
Jan 20, 2026
Merged

Add auto-maximize option when window fills the screen#430
schnz merged 10 commits intogTile:masterfrom
itsfernn:maximize_alt

Conversation

@itsfernn
Copy link
Copy Markdown
Contributor

Description:

This update introduces an optional setting to automatically maximize a window when it is resized to cover the entire screen.
This makes it possible to maximize windows when cycling through resize presets. (Example Preset: 8x6 3:2 6:5,1:1 8:6)
This eliminates gaps and rounded corners for full screen windows.
It also means gTile works with extensions like Unite that hide titlebars on maximized windows.

Changes:

  • Added auto-maximize boolean setting (default: false) in gTile preferences.

  • Updated DesktopManager to maximize windows when selection covers the full grid. (if enabled)

  • Updated preferences UI to allow toggling the auto-maximize option.

  • Added getAutoMaximize function to UserPreferences in order to pass setting to DesktopManager

Co-authored-by: Markus Schanz <3457747+schnz@users.noreply.github.com>
itsfernn and others added 5 commits November 11, 2025 13:06
Co-authored-by: Markus Schanz <3457747+schnz@users.noreply.github.com>
Co-authored-by: Markus Schanz <3457747+schnz@users.noreply.github.com>
@scherepanov
Copy link
Copy Markdown
Contributor

FYI there were users in past who wants rounded corners and margins when window is maximised.
Great that you added settings that control new behaviour. We should keep compatibility with existing behaviour, to keep everybody happy.

@schnz
Copy link
Copy Markdown
Member

schnz commented Nov 12, 2025

We should keep compatibility with existing behaviour, to keep everybody happy.

@scherepanov Do you think of something in particular, that this PR might break? Because I can't think of anything.

@schnz schnz merged commit 380121a into gTile:master Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants