Blender Git Commit Log
Git Commits -> Revision eb24e78
Revision eb24e78 by Damien Plisson (master) December 1, 2009, 10:23 (GMT) |
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. |
Commit Details:
Full Hash: eb24e788b82be4f957ca6a43c344173e80f27ff8
SVN Revision: 25042
Parent Commit: 99e765e
Lines Changed: +33, -3
1 Modified Path:
/intern/ghost/intern/GHOST_SystemCocoa.mm (+33, -3) (Diff)