You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common issue with Hyprland is that some windows don't remember their size. That is, if you use windows in floating mode and adjust them to some size, then after restarting they should open with the same size again (because they have internal mechanisms to remember the size and then give a size hint to Hyprland), but they don't.
The reason for this is that Hyprland tells windows always that they are maximized, and then the windows don't bother remembering their size. The reason that Hyprland does this is to force windows into not drawing e.g. shadows.
However, not having windows remember their size is a significant drawback, especially given that for many windows the shadow thing isn't even a problem, because they wouldn't draw any decorations anyway. Other windows managers (e.g. river) also don't do this maximizing "trick".
So I propose to add a window rule, which would allow the user to disable this tell-them-they-are-maximized-trick for certain windows.
Perhaps one could even add an option to set the default, so that one could set to default to "disable the trick", but then enable it for some special windows that draw otherwise would draw shadows.
The text was updated successfully, but these errors were encountered:
jbirnick
changed the title
Have option to tell windowns **not** that they are maximized
Have option to not tell windowns they are maximized
Jan 26, 2025
Description
A common issue with Hyprland is that some windows don't remember their size. That is, if you use windows in floating mode and adjust them to some size, then after restarting they should open with the same size again (because they have internal mechanisms to remember the size and then give a size hint to Hyprland), but they don't.
The reason for this is that Hyprland tells windows always that they are maximized, and then the windows don't bother remembering their size. The reason that Hyprland does this is to force windows into not drawing e.g. shadows.
However, not having windows remember their size is a significant drawback, especially given that for many windows the shadow thing isn't even a problem, because they wouldn't draw any decorations anyway. Other windows managers (e.g. river) also don't do this maximizing "trick".
So I propose to add a window rule, which would allow the user to disable this tell-them-they-are-maximized-trick for certain windows.
Perhaps one could even add an option to set the default, so that one could set to default to "disable the trick", but then enable it for some special windows that draw otherwise would draw shadows.
The text was updated successfully, but these errors were encountered: