This is actually trickier than it originally seemed, because we'll want to serialize the requests and wait for the ConfigureNotify events. Requesting configs which exactly matches the current config often causes the window manager to ignore it entirely, and no event is generated, which we would then wait forever.