Skip to content

323 windowbuilder ext macos - #423

Merged
tomaka merged 5 commits into
rust-windowing:masterfrom
sodiumjoe:323-windowbuilder-ext-macos
Mar 22, 2018
Merged

tomaka merged 5 commits into
rust-windowing:masterfrom
sodiumjoe:323-windowbuilder-ext-macos

Conversation

@sodiumjoe

Copy link
Copy Markdown
Contributor

fixes #323

This is #389, rebased from current master, with a couple of extra commits to add titlebar_hidden and titlebar_buttons_hidden. I didn't get any response from @robertgzr on this so I decided to just open a new one. #389 was approved, not sure why it didn't get merged, so I'm hoping to get this merged soon.

NB: titlebar_hidden depends on #408 to be resizable.

@sodiumjoe

Copy link
Copy Markdown
Contributor Author

Build failures look like they're unrelated to the changes in this PR.

@tomaka
tomaka merged commit ce7a426 into rust-windowing:master Mar 22, 2018
@tomaka

tomaka commented Mar 22, 2018

Copy link
Copy Markdown
Contributor

Err, I forgot about the CHANGELOG.
Could you open another PR that adds entries to CHANGELOG.md about this change?

@sodiumjoe

Copy link
Copy Markdown
Contributor Author

@tomaka updated changelog PR: #431

Btw, we still need #408 to be merged for some of this to work properly.

You can also close #389, since it was included in this PR.

@robertgzr

robertgzr commented Mar 23, 2018 •

Copy link
Copy Markdown
Contributor

I am a bit confused as to why this got merged before #408 wasn't that PR supposed to be a dependency of this one?

After pulling latest master I guess there is supposed to be a difference between with_decorations(false) and with_titlebar_hidden(true), no? For me both produce the same non-movable, non-resizable window.

@sodiumjoe

Copy link
Copy Markdown
Contributor Author

you're correct, with_titlebar_hidden depends on #408 to work correctly

@tomaka

tomaka commented Mar 23, 2018

Copy link
Copy Markdown
Contributor

Oh sorry for the wrong merge order.

francesca64 pushed a commit to francesca64/winit that referenced this pull request Mar 26, 2018
* macOS: Allow hiding the title from the titlebar

* macOS: Allow making the titlebar transparent

* macOS: Give control over content view size

Allows setting `NSFullSizeContentViewWindowMask` with WindowBuilder.

* macOS: add `.with_titlebar_hidden` to WindowBuilderExt

* macOS: adds `titlebar_buttons_hidden` platform specific attribute
tmfink pushed a commit to tmfink/winit that referenced this pull request Jan 5, 2022
Implement `putImageData()` on canvas.

Partially addresses rust-windowing#388.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

More granular control over decorations on WindowBuilder

3 participants