Created
September 18, 2019 14:47
-
-
Save torarnv/10aac35c1b92fe449c336266eb297163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/plugins/platforms/cocoa/qcocoawindow.mm w/src/plugins/platforms/cocoa/qcocoawindow.mm | |
index 0c7ec7f736..44bc0d2e6c 100644 | |
--- i/src/plugins/platforms/cocoa/qcocoawindow.mm | |
+++ w/src/plugins/platforms/cocoa/qcocoawindow.mm | |
@@ -1515,6 +1515,11 @@ bool QCocoaWindow::updatesWithDisplayLink() const | |
void QCocoaWindow::deliverUpdateRequest() | |
{ | |
+ QWindow *w = window(); | |
+ QWindowPrivate *wp = qt_window_private(w); | |
+ wp->updateRequestPending = false; | |
+ return; | |
+ | |
// Don't send update requests for views that need display, as the update | |
// request doesn't carry any information about dirty rects, so the app | |
// may end up painting a smaller region than required. (For some reason |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment