File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,10 @@ void QSWaylandSessionLockSurface::ext_session_lock_surface_v1_configure(
91
91
this ->window ()->resizeFromApplyConfigure (this ->size );
92
92
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
93
93
this ->window ()->handleExpose (QRect (QPoint (), this ->size ));
94
- #else
94
+ #elif QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
95
95
this ->window ()->sendRecursiveExposeEvent ();
96
+ #else
97
+ this ->window ()->updateExposure ();
96
98
#endif
97
99
if (this ->visible ) this ->initVisible ();
98
100
} else {
Original file line number Diff line number Diff line change @@ -135,8 +135,10 @@ void QSWaylandLayerSurface::zwlr_layer_surface_v1_configure(
135
135
this ->window ()->resizeFromApplyConfigure (this ->size );
136
136
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
137
137
this ->window ()->handleExpose (QRect (QPoint (), this ->size ));
138
- #else
138
+ #elif QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
139
139
this ->window ()->sendRecursiveExposeEvent ();
140
+ #else
141
+ this ->window ()->updateExposure ();
140
142
#endif
141
143
} else {
142
144
this ->window ()->applyConfigureWhenPossible ();
You can’t perform that action at this time.
0 commit comments