reverted to usage of xwininfo

could not get the right line position in case of tool-bar without xwinfo.