Windows users have long been accustomed to the alt+window drag function, which allows them to easily move windows around the screen. However, Linux users have been missing out on this feature for a while now. Fortunately, there is a way to get the alt+window drag function in Windows. To get the alt+window drag function in Windows, you first need to install the xdotool program. This program is available for free from the official Windows website and can be used to perform various tasks on your computer. Once you have installed xdotool, open it up and click on the “Window Drag” option located in the menu bar. Next, you will need to select your window that you want to move and then click on the “Start” button located at the bottom of xdotool’s window. This will start dragging your selected window around the screen. When you are finished dragging your window, simply release it by clicking on the “End” button located at the bottom of xdotool’s window. ..


I set about to duplicate this functionality in Windows using my favorite automation tool, AutoHotkey. A short amount of browsing time later and I’d come up with a workable solution modified from this script.

An animation would work better here, but you can see that the mouse pointer is in the middle of the window:

By holding down the Alt key and dragging, I can move the window without having to click on the title bar:

Once you get used to this, you’ll never want to go back, and because it’s an AutoHotkey script I can bundle it together with all my other enhancements, such as assigning hotkeys to windows or the Hide Others script.

I’ve bundled a download together with the autohotkey script that you can use if you already have AutoHotkey installed, and also an executable file that you can use on any computer.

Download AltWindowDrag AutoHotkey Script & Executable