Unable to drag chrome windows

Hello I am using a very simple click and drag script to move my browser window to the left or right. I am basically following the guide exactly about how to use xmove to drag and drop. The only difference is Im using exact screen coordiates for moving the mouse instead of reading the screen. The code only works if I want to move windows of other programs like notepad for example. But with chrome, the macro runs and the mouse tries to click and drag but the crome window stays where its at. Is there an alternative way of doing this because it seems like chrome is somehow resisting the commands.