jwm icon indicating copy to clipboard operation
jwm copied to clipboard

xterm / urxvt do not maximize all the way to the edge of the screen

Open internet-police opened this issue 3 years ago • 6 comments

Hello there i have this in my config:

<Group>
  <Option>tiled</Option>
  <Option>noborder</Option>
  <Option>maximized</Option>
</Group>

so every window should start maximized it works, but not for xterm and urxvt, these have a small gap on the right side and on the bottom other windows cover the whole screen

any idea why this happens?

2022-04-06_17-57-46

jwm -v
JWM v2.4.1 by Joe Wingbermuehle
compiled options: confirm icons jpeg nls pango png shape svg xbm xft xinerama xpm xrender 
system configuration: /usr/local/etc/system.jwmrc

internet-police avatar Apr 06 '22 15:04 internet-police

For text-cell based applications like terminals, the size is calculated at the cell level (the size of one character cell) rather than the pixels. So it is common for the size to be slightly less than the workspace area. Otherwise you might end up with the bottom line (or rightmost column) being partially obscured.

yetanothergeek avatar Apr 06 '22 21:04 yetanothergeek

It looks like urxvt has no titlebar but I don't see a notitle option? Do you have any other groups configured?

JCallicoat avatar Apr 09 '22 08:04 JCallicoat

@internet-police you might need to add <Option>iignore</Option> to ignore window size hints set by urxvt.

JCallicoat avatar May 26 '22 06:05 JCallicoat

Thanks @JCallicoat that fixed it

internet-police avatar May 27 '22 22:05 internet-police