]> git.sur5r.net Git - i3/i3/commit
tabbed: floor(), put extra pixels into the last tab (Thanks xeen)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 7 Apr 2013 07:58:34 +0000 (09:58 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 7 Apr 2013 08:00:28 +0000 (10:00 +0200)
commit9f353996feb8ebab74ca747d319dd3c6746afca7
tree5ace93fbf22a5b73ce03895347cc74271195e158
parent4f72c5c5fc62a8ff4ed0bfc177ca53058581295a
tabbed: floor(), put extra pixels into the last tab (Thanks xeen)

This is the only sane way I can think of to deal with the problem that
the screen size may not be dividable by the amount of tabbed children
(e.g. 1280 / 41 = 31.219512…).

fixes #645
fixes #791
src/render.c