Repository navigation
Conversation
|
So, I'm actually working on a different way to hide the titlebar: if pl_attrs.titlebar_hidden {
window.setTitleVisibility_(appkit::NSWindowTitleVisibility::NSWindowTitleHidden);
window.setTitlebarAppearsTransparent_(YES);
let button = window.standardWindowButton_(NSWindowButton::NSWindowFullScreenButton);
msg_send![button, setHidden:YES];
let button = window.standardWindowButton_(NSWindowButton::NSWindowMiniaturizeButton);
msg_send![button, setHidden:YES];
let button = window.standardWindowButton_(NSWindowButton::NSWindowCloseButton);
msg_send![button, setHidden:YES];
let button = window.standardWindowButton_(NSWindowButton::NSWindowZoomButton);
msg_send![button, setHidden:YES];This is basically just The only thing I still would like to figure out is the weird behavior in external monitors I noted in alacritty/alacritty#947 (comment). Once (if) I figure that out, I think I may change this PR to just add another attribute |
|
@robertgzr Hey, was wondering if you had a chance to look at this. I think I'll just open my own PR to winit if you don't have time to look at this. Thanks! |
|
@sodiumjoe sorry about the radio silence Did you figure out something for the external monitor issue?
I actually think it's a good idea to let people from upstream look at this because I don't really know much about the cocoa parts we touch here... |
|
@robertgzr sorry, I got impatient. I haven't had a chance to figure out the dpi thing, because I mostly work on this at home, and my external monitor setup is at work. I'll try to dig into it this week. the hidden titlebar buttons is more or less orthogonal to that though, so imo, we should try to get all these extensions merged regardless. if you're still trying to get this pr merged, I'd like to add one more commit and I'll close my other PR. |
a4055d8 to
0cffa82
Compare
0cffa82 to
02d3609
Compare
|
Once rust-windowing#408 get's merged I would be happy to merge this and update rust-windowing#389 :) |
|
ok sounds good, thanks! |
depends on rust-windowing#408 to work properly