Windows has a feature called Aero Shake which refrains windows from getting minimized or restored when the mouse movement shakes the active window back. You can change the setting from local Group policy Editor. If you enable Aero Shake, then the windows will not be minimized or restored when the active window is shaken back and forth with the mouse. By default it is not configured, i.e, disabled. The following tutorial will help you to Enable or disable Aero Shake in Windows 10.
Steps to Enable or Disable Aero Shake in Windows 10
1. Open Search, type local group. You will get Edit Local Group Policy. Select it.
2. Now navigate to the following location User Configuration, Administrative Templates, and Desktop.
3. In the right panel, you can find a setting “Turn off Aero Shaking minimizing mouse gestures”.
4. By default it is Not configured. You can see the status beside the name of the setting. Double tap it to edit the setting. If you want to enable it check Enable. If you want to disable it, select Disable.