Go to file
Germano Cavalcante 9bd586a01e Fix T95608: Mac issues with drag drop on multi-monitor
Mousemove events are sent to windows.

In Windows OS, almost all mousemove events are sent to the window whose
mouse cursor is over.

On MacOS, the window with mousemove events is always the active window.
It doesn't matter if the mouse cursor is inside or outside the window.

So, in order for non-active windows to also have events,
`WM_window_find_under_cursor` is called to find those windows and send
the same events.

The problem is that to find the window, `WM_window_find_under_cursor`
only has the mouse coordinates available, it doesn't differentiate
which monitor these coordinates came from.

So the mouse on one monitor may incorrectly send events to a window on
another monitor.

The solution used is to use a native API on Mac to detect the window
under the cursor.

For Windows and Linux nothing has changed.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D14197
2022-03-01 18:25:12 -03:00
.github GitHub: add PR template 2021-10-23 10:49:51 +05:30
build_files Fix compilation error on certain platforms 2022-02-22 15:47:43 +01:00
doc Python API Docs: Hide version swtich 2022-02-22 14:39:51 -05:00
extern VSE: Refactor our code to be compatible with ffmpeg 5.0 2022-02-18 18:24:16 +01:00
intern Fix T95608: Mac issues with drag drop on multi-monitor 2022-03-01 18:25:12 -03:00
release Keymap: correct NDOF button roll assignment 2022-02-24 17:51:19 +11:00
source Fix T95608: Mac issues with drag drop on multi-monitor 2022-03-01 18:25:12 -03:00
tests Tests: enable full Cycles Metal device regression tests on buildbot 2022-02-11 14:35:10 +01:00
.arcconfig Fix .arcconfig not working with latest arcanist version 2020-03-01 22:35:31 +01:00
.clang-format Cleanup: More readable Cycles OSL BSDF definition 2021-10-19 11:59:26 +02:00
.clang-tidy Clang Tidy: ignore some passes that changed or were added in version 13 2021-11-23 19:45:05 +01:00
.editorconfig editorconfig: correct indent size 2019-04-17 13:34:46 +02:00
.git-blame-ignore-revs Cleanup: git-blame-ignore-revs: Update policy & commits 2021-01-29 13:20:32 +05:30
.gitignore Compositor automated testing 2021-03-26 16:15:02 +01:00
.gitmodules Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
CMakeLists.txt Python: bump minimum version to 3.10 2022-02-22 10:16:25 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Cleanup: fix typos in comments and docs 2021-11-19 12:46:49 +01:00
make.bat make.bat: unify python detection 2022-01-25 09:19:03 -07:00
readme.rst Blender README: Fix the full license name. 2021-04-09 12:39:33 +02:00

.. Keep this document short & concise,
   linking to external resources instead of including content in-line.
   See 'release/text/readme.html' for the end user read-me.


Blender
=======

Blender is the free and open source 3D creation suite.
It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing,
motion tracking and video editing.

.. figure:: https://code.blender.org/wp-content/uploads/2018/12/springrg.jpg
   :scale: 50 %
   :align: center


Project Pages
-------------

- `Main Website <http://www.blender.org>`__
- `Reference Manual <https://docs.blender.org/manual/en/latest/index.html>`__
- `User Community <https://www.blender.org/community/>`__

Development
-----------

- `Build Instructions <https://wiki.blender.org/wiki/Building_Blender>`__
- `Code Review & Bug Tracker <https://developer.blender.org>`__
- `Developer Forum <https://devtalk.blender.org>`__
- `Developer Documentation <https://wiki.blender.org>`__


License
-------

Blender as a whole is licensed under the GNU General Public License, Version 3.
Individual files may have a different, but compatible license.

See `blender.org/about/license <https://www.blender.org/about/license>`__ for details.