Hi, I'm creating SFML games/applications on Arch Linux using i3-wm, a tiling window manager.
For some reason, I get really weird things happening such as things being wrong size, etcetera. Here's a picture of this happening:
http://i46.tinypic.com/v4v7g1.png As you can see, the resolution is 1024 x 768 and the paddles and ball are not the right size. Furthermore, they're in the wrong place and it seems as if the game has been scaled down with a bunch of space not being used up.
Also, when I start the program in the terminal and then I put it into floating mode (not tiled mode), the program doesn't update the display until a click happens.
http://i46.tinypic.com/2vb7p83.pngWhen I compile the same code in Windows, it doesn't happen. It only happens in Linux when using a tiling window manager. How do I fix this? Thanks.