all repos — fluxbox @ 06cd80c6c89522acec32291743ebb7b2c42a8129

custom fork of the fluxbox windowmanager

fix rounding
rathnor rathnor
commit

06cd80c6c89522acec32291743ebb7b2c42a8129

parent

dfdb8219fa74defd4608f3574128f95eb9fcde64

2 files changed, 6 insertions(+), 7 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.7: *03/12/21: + * Fix rounding on Iconbar (Simon) + Container.cc * And another attempt at sloppy focus issues (Simon) WinClient.cc Window.cc fluxbox.cc * Fixed "mozilla" input focus bug (Henrik)
M src/Container.ccsrc/Container.cc

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Container.cc,v 1.9 2003/12/12 14:35:34 fluxgen Exp $ +// $Id: Container.cc,v 1.10 2003/12/21 16:12:19 rathnor Exp $ #include "Container.hh"

@@ -200,15 +200,12 @@ next_x = width() - max_width_per_client + borderW;

} for (; it != it_end; ++it, next_x += direction*(max_width_per_client + borderW + extra)) { - //!! TODO: check this more carefully, seems like error doesn't work with even numbers - /* if (rounding_error != 0) { - --rounding_error; - extra = 0; + --rounding_error; + extra = 1; } else { - extra = 0; + extra = 0; } - */ // resize each clients including border in size (*it)->moveResize(next_x, -borderW,