16 lines
578 B
Diff
16 lines
578 B
Diff
diff --git a/src/SessionLockImpl.cpp b/src/SessionLockImpl.cpp
|
|
index a5f2e84..1e4541a 100644
|
|
--- a/src/SessionLockImpl.cpp
|
|
+++ b/src/SessionLockImpl.cpp
|
|
@@ -78,5 +78,9 @@ void SessionLockSurfaceImpl::configureCallback( void *data, struct ::ext_session
|
|
#endif
|
|
|
|
/** Commit the buffer */
|
|
- sls->handleExpose( QRect( QPoint(), QSize((int)width, (int)height ) ) );
|
|
+ #if QT_VERSION >= QT_VERSION_CHECK( 6, 10, 0 )
|
|
+ sls->window()->updateExposure();
|
|
+ #else
|
|
+ sls->handleExpose( QRect( QPoint(), QSize( (int)width, (int)height ) ) );
|
|
+ #endif
|
|
}
|
|
|