I am working on building a game with lwjgl and slick2d as a wrapper for it and I have been experiencing a weird glitch. the game is a 2d based sidescroller and it applys a naturally gravity to everything in the world,but when I grab the window tab at the top and move it around to reposition the window the player clips through the floor. I have tried to do a updated pausing when the window is not in focus, but the window remains in focus while I am dragging around the window. I know I could fix it by making it a fullscreen game but I would like to have the option available.
Any help would be nice.