Bring QWindowPrivate::deliverUpdateRequest() back temporarily
QtWayland is using that now.
This change partly reverts commit bff59f87ba
.
Task-number: QTBUG-67480
Change-Id: I36b75555baef220c80cf103226f5b8108d7a352c
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
parent
84cc8d0bad
commit
6ada4155af
@ -2358,6 +2358,12 @@ bool QWindow::event(QEvent *ev)
|
||||
return true;
|
||||
}
|
||||
|
||||
void QWindowPrivate::deliverUpdateRequest()
|
||||
{
|
||||
if (platformWindow)
|
||||
platformWindow->deliverUpdateRequest();
|
||||
}
|
||||
|
||||
/*!
|
||||
Schedules a QEvent::UpdateRequest event to be delivered to this window.
|
||||
|
||||
|
@ -124,6 +124,8 @@ public:
|
||||
bool applyCursor();
|
||||
#endif
|
||||
|
||||
void deliverUpdateRequest();
|
||||
|
||||
QPoint globalPosition() const;
|
||||
|
||||
QWindow *topLevelWindow() const;
|
||||
|
Loading…
Reference in New Issue
Block a user