Repository navigation
[macOS] Move the window if there is no title bar - #382
Merged
tomaka merged 4 commits intoJan 22, 2018
Merged
Conversation
On macOS by default windows can only be moved by clicking and dragging on the titlebar, if we spawn a window without one we need to set the `movableByWindowBackground` property. Partial fix for rust-windowing#368
robertgzr
force-pushed
the
movable-by-window-background
branch
from
January 9, 2018 12:55
52d5d20 to
5a5dbb4
Compare
Contributor
|
Thanks for the PR. I'm not sure we want this behaviour by default though. |
Contributor
Author
|
@tomaka should I add this to |
Implements setting the property via WindowBuilderExt:
WindowBuilder::new()
.with_decorations(false)
.with_movable_by_window_background(true)
robertgzr
force-pushed
the
movable-by-window-background
branch
from
January 9, 2018 16:54
0a6a57e to
2ad8882
Compare
Contributor
Author
|
@tomaka I made this a separate |
Contributor
|
Thanks, looks good! I guess we could make this attribute cross-platform in the future if there's a need and a way to implement it. Please also add an entry in I'll leave this open for a few hours/days in case someone has something to comment. |
robertgzr
force-pushed
the
movable-by-window-background
branch
from
January 11, 2018 15:55
f60bd81 to
558fa94
Compare
Contributor
Author
|
Do you want me to squash all of that before you merge? |
Contributor
|
It will be squashed when merged. |
Contributor
Author
|
ping I have something ready that is based on the changes here... |
tmfink
pushed a commit
to tmfink/winit
that referenced
this pull request
Jan 5, 2022
Combine the Z-buffer and fill indirect draw params buffers to reduce the number of SSBO bindings. Apparently Mesa RadeonSI drivers have a limit of 8 SSBOs. Closes rust-windowing#373.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
On macOS by default windows can only be moved by clicking and
dragging on the titlebar, if we spawn a window without one we
need to set the
movableByWindowBackgroundproperty.Partial fix for #368