aboutsummaryrefslogtreecommitdiff
path: root/src/tests/movetest.cc
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2013-09-15 19:54:44 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2014-02-19 16:41:15 (GMT)
commit559947186ef39e18f273e32026590f824782d905 (patch)
tree1e426338ca22f4c65797029d6b6df463a939fde7 /src/tests/movetest.cc
parent58472fea6d1a88c864598141e63aac085b83c77b (diff)
downloadfluxbox-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/tests/movetest.cc')
0 files changed, 0 insertions, 0 deletions