
Mythical programmer Scott Hanselman, VP and Member of Technical Group of workers at Microsoft, has constructed a small software that brings over an incredible characteristic from macOS to Home windows.
It’s referred to as PeekDesktop, and the theory is that while you click on on empty desktop wallpaper, each and every open window immediately will get out of the way in which (minimizes). Click on once more or transfer again to an app, and the whole thing comes again precisely the place it used to be.

It’s nearly the similar as macOS Sonoma’s “click on wallpaper to expose desktop” characteristic. Home windows hasn’t ever had this actual interplay. Sure, there’s “Display Desktop”, however Scott says that that is extra intentional. Shortcuts like Win + M and Win + D are each keyboard-driven, and handiest certainly one of them restores your workspace.
One thing I in my view used for the same capability is the four-finger swipe-down gesture at the trackpad that displays the desktop, and the swipe-up gesture that restores all home windows. Swipe up and cling displays Job View, although.
On the other hand, PeekDesktop is without a doubt higher, and I ponder why Home windows doesn’t have already got “Click on to Expose Desktop” in-built. Hanselman’s software has no additional UI, no setup procedure, and will also be downloaded from GitHub.
I examined PeekDesktop, macOS’s click on wallpaper to expose the desktop characteristic for Home windows
To get the Click on to expose desktop characteristic in your Home windows PC, simply obtain the zip from GitHub (6.15 MB), extract it, and run the executable. That’s it. Scott Hanselman has no longer forgotten about Home windows on ARM both, because the software has local toughen for Snapdragon-powered PCs.

After executing, you’ll see the software sitting quietly within the machine tray, and you’ll be able to omit it’s even there as it slightly makes use of any reminiscence, staying below 2 megabytes when idle.


In case you don’t have an app operating in complete display, click on at the desktop wallpaper, no longer icons, and each and every window minimizes immediately. You’re left with a blank desktop the place you’ll be able to transfer information round, right-click, or prepare icons with out the rest going in the way in which. It doesn’t misfire while you click on or drag icons, which is vital as a result of that may’ve made it unusable.
While you’re carried out, you don’t wish to take into consideration restoring the rest. Click on any app, the taskbar, and even the wallpaper once more, and the whole thing comes again precisely the way it used to be, together with window positions and states.
If animations don’t glance polished right here, it’s most probably as a result of I’m trying out this on a low-powered VM. Additionally, because it’s only a standalone executable, some customers would possibly favor an installer as an alternative of manually striking the report someplace protected.
A subject that I famous is that emptying the Recycle Bin is somewhat tricky, as PeekDesktop will get in the way in which. Proper-clicking the Bin would open all minimized apps, and I must right-click once more to peer the context menu. That is by way of design, although.
Additionally, Job Supervisor doesn’t reply to clicking at the wallpaper. It refuses to reduce together with different apps, which I don’t know if it’s by way of design.
Then, the right-click menu at the desktop, whilst all apps are minimized, is somewhat erratic. As an example, looking to create a New Folder at the desktop simply reopens the entire minimized home windows.
Win + M minimizes the whole thing, however it will possibly’t repair home windows. Win + D can decrease and repair home windows, however this is a keyboard shortcut. The taskbar “Display Desktop” button works the similar approach as PeekDesktop, however as Scott famous, macOS customers have “click on wallpaper to expose desktop” of their muscle reminiscence, and it might lend a hand them really feel relaxed in the event that they ever make a choice Home windows, this is.
How PeekDesktop works
PeekDesktop makes use of a collection of light-weight Home windows APIs to hit upon desktop clicks and arrange window states with out going in the way in which of standard utilization.
Mouse detection is treated the usage of a low-level hook referred to as SetWindowsHookEx(WH_MOUSE_LL), which we could the app seize clicks globally with out interfering with the rest. As soon as a click on is detected, it makes use of WindowFromPoint to determine what’s below the cursor. That’s the way it is aware of the place you clicked.
To verify it handiest reacts to drain wallpaper and no longer icons, it makes use of an accessibility layer via AccessibleObjectFromPoint. With out that additional test, even a slight misclick on an icon may cause the entire procedure.
Window monitoring is the place lots of the paintings occurs. The software makes use of EnumWindows to move via all open home windows and captures their actual place, dimension, and state the usage of WINDOWPLACEMENT ahead of minimizing them.
When it’s time to carry the whole thing again, it assessments adjustments within the lively window the usage of SetWinEventHook(EVENT_SYSTEM_FOREGROUND). The instant you click on an app, the taskbar, and even the wallpaper once more, it restores the whole thing the usage of SetWindowPlacement, precisely the place it used to be, together with maximized home windows and multi-monitor setups.
All of this runs with out admin rights and infrequently makes use of any assets. Most significantly, it’s no longer a internet app…
You’ll customise a couple of issues within the machine tray. You’ll toggle it on or off, set it to release at startup, test for updates, or simply go out the app completely. I like to recommend that you choose “Get started with Home windows”, as a result of once I close down and grew to become on my PC, PeekDesktop used to be disabled.

There’s additionally an ongoing effort by way of Scott Hanselman to copy macOS-style conduct the place home windows transfer to the perimeters as an alternative of minimizing, however that’s so much more difficult to put into effect correctly on account of multi-monitor setups, DPI scaling, and monitoring window positions in actual time.
As I used to be penning this, PeekDesktop used to be up to date from v0.4 to v0.6.1, with the obtain dimension diminished to only 1.16 MB.
PeekDesktop will have to be constructed into Home windows
When you get used to clicking the wallpaper to transparent your workspace, going again to keyboard shortcuts or nook buttons feels unnecessarily clunky.
Microsoft is already that specialize in bettering efficiency, cleansing up UI inconsistencies, and solving long-standing usability problems in Home windows 11. With long-requested options just like the movable taskbar about to make a grand access, I imagine how you can move about it’s to seek out small options like this that folks like and slowly incorporate them into Home windows. PeekDesktop is correct in that class.



