diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2013-09-15 19:54:44 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2014-02-19 16:41:15 (GMT) |
commit | 559947186ef39e18f273e32026590f824782d905 (patch) | |
tree | 1e426338ca22f4c65797029d6b6df463a939fde7 /src/ToolbarTheme.hh | |
parent | 58472fea6d1a88c864598141e63aac085b83c77b (diff) | |
download | fluxbox-559947186ef39e18f273e32026590f824782d905.zip fluxbox-559947186ef39e18f273e32026590f824782d905.tar.bz2 |
make sure that result of division is signed int
there is problem that x/y ended with unsigned int value due to
width()/height() and negative result of division ended up being big
it causes Focus to move window due to screen boundary checks
fixes annoying behaviour of window moving few pixels with
Mod4 KP_8 :MacroCmd {ResizeTo 100% 50%} {MoveTo 0 0 Top} {Raise} {Focus}
Diffstat (limited to 'src/ToolbarTheme.hh')
0 files changed, 0 insertions, 0 deletions