-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use standard 1px window borders on NC Island Window #3394
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
6744d21
test things
1d33e22
Fix DwmExtendFrameIntoClientArea values
1dd0ee6
Fix WM_NCHITTEST handling
cd73d35
Position the XAML island window correctly
02a5e18
Fix weird colors in drag bar and hide old title bar buttons
19d67a5
Fix the window's position when maximized
214f086
Add comment
e08d973
Add support for dark theme on the frame
e37ace4
Changes for PR
046633c
DRY shared code between conhost and new terminal
a7132a3
Add noexcept in ThemeUtils
43b364f
Fix drag bar and remove dead code
dcbc115
Remove dead code and use cached DPI
f95693c
Refactor code
f55f4df
Remove impossible TODO
d3ab79f
More refactoring
3b7b6b3
format
d16c141
little changes for PR
f58702e
Refactor and found better way to just have the border at the top
41938c9
Add comment
75c1954
Use system metrics instead of hardcoding resize border height
424bbc4
Fix code that worked but that wasn't right
4c8b8e5
Changes for review
9b1b5e1
Revert "Refactor and found better way to just have the border at the …
1c85587
More changes for review
e8db54c
Fix comments
5764926
Use theme from app settings instead of system theme. Improve comments…
e448cfe
Changes for review
ace60e7
Fix initial position DPI handling bug and apply review changes
e0d0619
nit
02ae511
Fix thick borders with DPI > 96
48cd380
Update TODO
89eb7b4
fix comment
792969a
sorry I push too fast before reviewing my own code
8ae87fc
format
dc46679
Revert TODO update
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd maybe add a comment on why we don't need to do anything for the
!_useNonClientArea
case here