void
CConn::framebufferUpdateStart() {
if (!formatChange) {
- pendingUpdate = true;
+ requestUpdate = pendingUpdate = true;
requestNewUpdate();
} else
pendingUpdate = false;
firstUpdate = false;
}
+ // Always request the next update
+ requestUpdate = true;
+
// A format change prevented us from sending this before the update,
// so make sure to send it now.
if (formatChange && !pendingUpdate)
if (options.autoSelect)
autoSelectFormatAndEncoding();
- // Always request the next update
- requestUpdate = true;
-
// Check that at least part of the window has changed
if (!GetUpdateRect(window->getHandle(), 0, FALSE)) {
if (!(GetWindowLong(window->getHandle(), GWL_STYLE) & WS_MINIMIZE))