-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
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.