I try to test for a modified window size without swapping the buffers but I can only get an updated window size after an update call, which does swap buffers.
Is there a reason why the swap is coupled with resize-handling or could this be moved to an external method, like processMessages?