awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Maximized windows are bigger than screen after spawning them, with border_width = 0

Open afranko opened this issue 4 years ago • 1 comments

Problem: With border_width = 0, if I open clients - inc. firefox, code, thunar - that are opened maximized, they are bigger than the screen at the bottom. Then, if I toggle maximization - i.e. unmaximizing the client, then maximizing it again - the client gets fitted into the screen.

I checked this with default rc.lua and default theme, only changing border_width to border_width = 0.

Output of awesome --version:

awesome v4.3 (Too long)
 • Compiled against Lua 5.3.6 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6
 • LGI version: 0.9.2

Screenshots:

  1. Firefox after spawning
  2. After Unmaximize -> maximize

screenshot1 screenshot2

afranko avatar Dec 12 '21 11:12 afranko

In the meantime this problem did not bother me too much, but today I disabled titlebar for a client that opens maximized by default and it had the proper size.

Therefore, I think the problem is the following: When I open a new client (that is maximized by default), the WM doesn't calcaulate the size of the titlebar into the final size. Any suggestion or workaround for that problem?

afranko avatar Mar 08 '22 16:03 afranko