Don't propose dimensions for windows floating for the first time

Before, we were using the same behavior as when we made any window
floating, which meant we'd set the window to 75% of the output's
dimensions. The issue is that, at least in my case, I usually want a
floating rule for windows that are small and have specific pre-set
sizes, so that didn't make sense. Now, if a window was made floating by
a rule, it should just start with its default dimensions but it can still
be resized later.
This commit is contained in:
Ben Buhse 2026-03-31 15:41:07 -05:00
commit 6136f9d3f8
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
2 changed files with 46 additions and 5 deletions

View file

@ -53,3 +53,4 @@ These are in rough order of my priority, though no promises I do them in this or
- [x] Add bar padding to config
- [x] Support 12-hour clock format (maybe take any time format string?)
- [x] Support configuring bar item positions (left/center/right)
- [x] Skip proposing dimensions for floating windows altogether?