How to reproduce:
1. Open any project
2. Navigate to Edit > Shortcuts
3. Select any Category and any Command
4. Double-click on the Shortcut field for that Command to start assigning a shortcut
5. Drag the pointer anywhere else in the Editor
Actual result: Error "Drags can only be started from MouseDown or MouseDrag events
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" is printed in the Console
Expected result: No error is printed when the pointer changes Editor windows whilst shortcut change is initiated via mouse
Reproducible with: 2023.2.0a6, 2023.2.0b8, 2023.3.0a2
Not reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0a5
Note: The issue does not reproduce if the user is setting a shortcut via pressing enter or typing the shortcut key when the shortcut command is focused
Reproduced on: Windows 11
Did not reproduce on: macOS Ventura