diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-01 13:23:27 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-01 13:23:27 +0300 |
commit | eb24e788b82be4f957ca6a43c344173e80f27ff8 (patch) | |
tree | 2c0b142561b06401113e4b9aadf6f9c4b30befd6 /extern/Eigen2 | |
parent | 99e765ee000503e6e917d52619d96a5ee557943e (diff) |
Cocoa: implement Cmd+W to close window, workaround for wrong modifiers key status upon focus retrieval
The carbon GetModifierFlag function (to get the current modifier keys status) is reimplemented in cocoa only from 10.6.
So we need to use a workaround to get the correct modifiers when blender application gets focus back. Current one is to assume no modifiers.
This at least fixes the issue when blender has been hidden using Cmd+H. The Cmd modifier was still seen as ON until the user pressed again on it.
Diffstat (limited to 'extern/Eigen2')
0 files changed, 0 insertions, 0 deletions