Xdotool_wmctrl
Testing things sometimes gives you insights.. like when minitesting my Ruby module Xdo. I found that different kinds of windows positioned differently.
Turns out that xdotool windowmove has inconsistencies, using ‘outer’ size (including decorations) and treating SSD-windows and CSD-windows differently.
The soulution was wmctrl -e gravity 10.
I never had such a “visual” minitest.. where windows where moved around and checked using xwininfo.