Keymaps: take into account DPI for tweak/drag/pie thresholds.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 21 Nov 2018 18:25:13 +0000 (19:25 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 21 Nov 2018 18:31:20 +0000 (19:31 +0100)
commit0a3cf083641121765fc78277f00d89af6d2cfebc
tree7ffccf7abc783f9e43119c166fb15fafc9fd9b14
parente8b9ff78dcb5e8e4dcf8f3383f9e8c55a8533b17
Keymaps: take into account DPI for tweak/drag/pie thresholds.

The intention is to fix a too low default threshold on high DPI screen.
Users with high DPI screens that have increased the threshold to fix this
or liked the lower threshold will need to lower it again.

This is still somewhat of a guess, ideally this would be based on the
physical distance travalled, and maybe different per type of input device.
However we do not have access to this information, and hope this gives a
better default.
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_widgets.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_gesture.c