Toggle to standard cursor when opening menus/popups
authorJulian Eisel <eiseljulian@gmail.com>
Tue, 19 Apr 2016 14:04:44 +0000 (16:04 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Tue, 19 Apr 2016 14:17:34 +0000 (16:17 +0200)
commit37493fb9fefca6a090bea689de11b4b995b7bdb0
tree47718ca5d285bb60abde3d96b3d35fce3ea43e29
parent9b48f2b27c0f64c7f8cc452ad3820f705c15495d
Toggle to standard cursor when opening menus/popups

Cursor is now set to standard arrow-cursor when opening menu, and reset to previous one when closing it. Previously it just stayed as it was before, e.g. the edit mode cross-cursor stayed active even if a menu was opened.

Fixes T48192.
source/blender/editors/include/ED_screen.h
source/blender/editors/interface/interface_regions.c
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_edit.c