The Accidental Minimisation
Windows 11 retains a legacy feature called Aero Shake (also referred to as Title Bar Window Shake). When you grab a window by its title bar and quickly shake it left and right with the mouse, every other open window on the desktop is instantly minimised, leaving only the shaken window visible. While originally designed as a productivity shortcut, in practice it fires accidentally far more often than intentionally. Simply repositioning a window by dragging it across the screen can trigger the shake detection if you move the mouse too quickly, causing all your carefully arranged side-by-side windows to vanish to the taskbar without warning.
Disabling Aero Shake
To stop Windows 11 from automatically minimising all other windows when you shake a title bar, you need to disable the Title Bar Window Shake feature in the System settings.
Open Settings (Win + I). In the left-hand sidebar, click on System. Select Multitasking. Look for the toggle labelled Title bar window shake. Turn this toggle off. With this setting disabled, shaking a window’s title bar will have no effect on other open windows. You can still manually minimise windows individually, use Win + D to show the desktop, or use Win + M to minimise all windows when you actually want to clear your workspace. If you are on an older version of Windows 11 where this toggle does not appear, you can achieve the same result via the Registry Editor: navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, create or modify a DWORD value named DisallowShaking and set it to 1.