X11: Resizing window doesn't resize content

A manual resize of the window (drag the border for instance) will not cause the content of the window to be resized. This fixes that. A side effect is that an actual size change has to take place for an sf::Event::Resize event to be generated (Not enough with a ConfigureNotify X event)