If the user taps the shortcut key to stick a pie menu this patch will allow them to activate the menu with a second tap of the same key. In most cases the user will have not moved the mouse and it will result in a dismissal of the pie menu. If the user has moved the mouse over an item this action will cause that selection to be made.
For consistency, in the rare occasion where there is a conflict between the pie keymapping and one of the pie menu's shortcuts the pie keymapping will take priority.
Pressing numeric 5 will dismiss the menu ( the logic here was that 5 is "center" and clicking the center of the pie dismisses the menu ).
In the process of adding the number 5 functionality the code to process the other numeric keys was re-positioned and simplified.
This is enabled by default in the preferences.
Note: versioning_userdef.c needs modification to newest version conditional at time of merge.