[i3] RFC: Ignoring size increment hints for tiling windows

Michael Stapelberg michael at i3wm.org
Wed Sep 5 17:41:31 CEST 2012


as many of you might have noticed, terminal emulators such as urxvt set
an X11 hint for getting resized only in increments of a specific size
(for example in increments of 13 px, if one line in your font size is 13
px high).

Oftentimes, the available space cannot be evenly divided by the resize
increment hint, and therefore you get little borders at the bottom or
right of a window.

Until now, we thought that this is just the way it is, but it turns out
that all terminal emulators I have tested (urxvt, xterm, gnome-terminal,
ROXterm) cope with whatever size one assigns them, that is, they still
work if i3 entirely ignores the size increment hint.

As I’ve mentioned in http://bugs.i3wm.org/query/ticket/540#comment:7,
Openbox ignores the size increment hint when windows are in fullscreen
for several years and that seems to work just fine.

Therefore, I’m announcing that we will ignore size increment hints for
tiling windows (NOT for floating windows such as GIMP toolbar windows)
in i3 4.3 UNLESS somebody has a good reason against that. In case you
have a good reason against it, please tell me/us ASAP.

In case you want to test whether your favorite terminal emulator still
works fine, apply ignore-size-increment-hints.patch (attached) and
check. In case you test one which was not mentioned in this thread
before, feel free to post your results.

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore-size-increment-hints.patch
Type: text/x-diff
Size: 698 bytes
Desc: not available
URL: <http://infra.in.zekjur.net/pipermail/i3-discuss/attachments/20120905/bb5973dc/attachment.patch>

More information about the i3-discuss mailing list