Details
Description
When I want to create an app that continues to update the drawing even while I am minimizing the window, on Windows I was able to achieve this by overriding QWindowSystemEventHandler::sendEvent and filtering Expose events (as in the attached updateinminimum.zip).
However, this does not work on macOS. On macOS, Expose events are sent to QGuiApplication without going through QWindowSystemEventHandler::sendEvent.
I want to be able to update the drawing continuously even in minimized window on macOS, just like on Windows.
Attachments
For Gerrit Dashboard: QTBUG-110268 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
454426,9 | Respect custom QWSI event handler when delivering synchronous events | dev | qt/qtbase | Status: MERGED | +2 | 0 |
455007,2 | Respect custom QWSI event handler when delivering synchronous events | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
455008,2 | Respect custom QWSI event handler when delivering synchronous events | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |