Commit ab3a8443 authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

QCocoaWindow - do not call resignKeyWindow


QCocoaWindow::setMouseGrabEnabled/setKeyboardGrabEnabled calls
resignKeyWindow. According to Apple's docs, we should _never_ call
this function (it's done by Cocoa automatically).
Calling this function leaves a window in weird state where it can
not become key again until you explicitly make another window key first.

Task-number: QTBUG-53050
Change-Id: I7a887659df8df11880328ffa2adc07c4a3af63e6
Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: default avatarMorten Johan Sørvig <morten.sorvig@qt.io>
parent ce37467a
No related merge requests found
Showing with 2 additions and 4 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment