-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
Make Mac borderless windows resizable and draggable. #740
Make Mac borderless windows resizable and draggable. #740
Conversation
You mean: servo/servo#9856 and servo/servo#9878 |
e532d1f
to
c4c5123
Compare
Despite the fact that the style mask contains `NSTitledWindowMask`, the title doesn't show up for two reasons: (a) we draw over it; (b) we make it invisible with a call to `-[NSWindow setTitleVisibility:]`. Addresses servo/servo#9856 and servo/servo#9878. Partially addresses servo/servo#9812.
c4c5123
to
7249529
Compare
r+ |
Depends on #741. |
Landed. |
NSBorderlessWindowMask as NSUInteger | ||
NSBorderlessWindowMask as NSUInteger | | ||
NSResizableWindowMask as NSUInteger | | ||
NSTitledWindowMask as NSUInteger |
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.
Alternatively, pull out NSResizableWindowMask
and NSTitledWindowMask
since they're available in every branch of the conditional now.
@paulrouget @tomaka Is there something I should do to move this along? |
I was waiting for Travis. |
Make Mac borderless windows resizable and draggable.
Despite the fact that the style mask contains
NSTitledWindowMask
, thetitle doesn't show up for two reasons: (a) we draw over it; (b) we make
it invisible with a call to
-[NSWindow setTitleVisibility:]
.Addresses servo/servo#9877 and servo/servo#9878.
r? @paulrouget