Diffusion Krita 483d38ba26d4

fix extenderModifiers for OSX

Authored by vanyossi on May 7 2020, 5:25 AM.

Description

fix extenderModifiers for OSX

Keys other than modifiers cannot be accessed outside
of non key related events from NSApplication. adding
a local monitor allows to catch the keys we need
during the delay duration.

Try to handle all modifiers from localMonitor

Apply modifiers already pressed on focusIn events macos

We now request a copy of keydown and modifier change
events to set the proper flags as background application

BUG:372646
BUG:373299
BUG:391088
(cherry picked from commit 4b9fa0c85e8f4cf9412ad01dd073c4a83ac7ea67)

Details

Committed
remptMay 19 2020, 9:08 AM
Parents
R37:42219dfd7dcf: Fixed canvas "jump" on finger touches.
Branches
Unknown
Tags
Unknown