wasm: use requestActive instead of activate
Task-number: QTBUG-74868 Change-Id: Ibbbac1ece66c8978440a282bf6949a82fb64d216 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>bb10
parent
166889ddcb
commit
3f25bcd5b7
|
|
@ -568,11 +568,8 @@ void QWasmEventTranslator::processMouse(int eventType, const EmscriptenMouseEven
|
|||
switch (eventType) {
|
||||
case EMSCRIPTEN_EVENT_MOUSEDOWN:
|
||||
{
|
||||
if (window2) {
|
||||
window2->raise();
|
||||
if (!window2->isActive())
|
||||
window2->requestActivate();
|
||||
}
|
||||
if (window2)
|
||||
window2->requestActivate();
|
||||
|
||||
pressedButtons.setFlag(button);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue