Block KWin compositing for windows containing a GLXDrawable

also change default sync mode
After resizing in display_work, check if we got the size right and resize again if we did not