App Owned Frame
Restores DWM clipping for selected custom-frame applications without changing their window styles or resizing.
Author: appEW
Some applications draw their own title bar. With the Windows classic theme,
they can show an extra white border or a second system title bar. When maximized,
their hidden frame edges can also become visible on the neighbouring monitor.
This mod keeps the application's own frame and restores normal maximized-window
clipping. It does not remove resizable-window styles, replace the application's
buttons, change the client layout or run its own resize loop.
Requirements
Default application profiles
| Application |
Default treatment |
| Discord |
Remove the extra white frame; use the normal resize cursor with wider grips. |
| ChatGPT and Claude |
Fix the outer frame and maximized clipping without loading this mod into the app. |
| Photoshop |
Keep its own title bar and prepare it during startup. |
| DaVinci Resolve |
Keep its own title bar and colour a remaining resize gutter to match the dark UI. |
These profiles were tested on the submitter's setup. App updates, Windows
versions and other frame/DPI mods can affect the result.
The dedicated helper and the in-process application hooks share one mod source.
Windhawk 1.7.3 is the runtime tested on this setup; Windhawk 2.0 alpha has not
yet been runtime-tested with this combined configuration.
Adding or excluding an application
- Open this mod's Settings tab and add the executable filename or full path
under Applications with their own frame. Wildcards
* and ? are supported.
- Leave Frame geometry on Automatic initially. Use Off to exclude an
entry without deleting it. Only main resizable windows with an app-drawn title
bar are handled; ordinary Windows captions, dialogs and tool windows are skipped.
- For an extra classic title bar like Photoshop or Resolve, enable
Use the application's own title bar. Open this mod's Advanced tab,
add the executable to the Custom process inclusion list, and save.
- For Chromium/Electron apps, Native resize hit testing is optional and also
requires that Advanced inclusion entry. Enable it only after testing the app.
Discord is included by default. Do not add Claude or ChatGPT to that list
merely to fix their border; their default profiles intentionally stay external.
The application list chooses which windows to treat. The Advanced inclusion
list is needed only for features which load code into the application.
When an enabled feature needs different hooks, saving settings reloads this
mod in that process. Changing the grip size or colour does not require an app restart.
Easier resizing
Easier resizing from all corners and edges widens the grab areas without
drawing a frame. All four corners use the same size; edges use half that size.
The size is in pixels at 100% scale and is adjusted for the window's monitor.
Discord's native mode provides the usual hover resize cursor. For external-only
apps the cursor changes when the drag starts, not while hovering. Larger grips
extend into the window and can overlap the edge of a scrollbar or caption button;
reduce the size or disable wider grips if this makes an app control hard to click.
Other options and limitations
- Residual resize gutter color paints only the remaining frame gutter, not
client content. Resolve defaults to
#17181a; leave it empty to disable.
- Prepare the custom title bar at startup is enabled for Photoshop. Other
apps must opt in after testing. It takes priority over the experimental
Delegate caption painting to DWM option.
- Remove system backdrop from the frame is for a remaining bright material
edge and requires Windows 11 build 22621 or later.
- The external correction runs in a dedicated Windhawk process, not Explorer.
A clean disable restores captured values. Scalar rollback data stays on each
window if that helper crashes; reloading the mod recovers it after validating
the application and former helper process identities. Unreadable original
border/caption colours return to the system default.
- This does not fix unrelated application rendering bugs, DPI-projection bugs
or conflicts with another mod which keeps rewriting the same frame state.
No application/system light or dark setting is changed.
Screenshots
Before: without the mod. After: with the mod. Provided by the submitter.
Discord
| Before |
After |
 |
 |
Photoshop
| Before |
After |
 |
 |