Blender Git Loki

Git Commits -> Revision 586acf2

Revision 586acf2 by Damien Plisson (master)
February 10, 2010, 14:16 (GMT)
Cocoa : use Cocoa NSWindow tag for identifying the window where a mouse/tablet/key event happened => enables some actions in inactive windows as per OSX standard

Previous code was assuming an event can only be sent from the active window.
On OSX, Right, Middle mouse buttons, mouse wheel and trackpad events are sent to inactive windows too.

For example, this allows to zoom, pan the view without changing the window order.

Commit Details:

Full Hash: 586acf21a74e836e8585c230beb56c11bd23c27e
SVN Revision: 26767
Parent Commit: bed4c49
Lines Changed: +40, -54

2 Modified Paths:

/intern/ghost/intern/GHOST_SystemCocoa.mm (+12, -24) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+28, -30) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021