You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't resive/move windows without decorations (on macOS?) #368
I managed to fix the part about moving windows in #382
After some investigation on why resizing fails I found that a NSWindow without the titlebar does not handle the resize events itself. Instead one has to implement that behavior in a subclass [1]
Activity
Allow to move the window if there is not title bar
Allow to move the window if there is not title bar
macOS: Move the window if there is not title bar
macOS: Move the window if there is no title bar
robertgzr commentedon Jan 9, 2018
I managed to fix the part about moving windows in #382
After some investigation on why resizing fails I found that a
NSWindowwithout the titlebar does not handle the resize events itself. Instead one has to implement that behavior in a subclass [1]More resources on how this could be done: https://github.com/andlabs/libui/blob/7fbbba37f617924fcdab5dc90cf1297b69764d09/osxbordersize
I'm not sure if/how this should be done best in the context of
winitthough.../cc @tomaka
[macOS] Move the window if there is no title bar (#382)
make windows without decorations resizable and movable in macos
Auto merge of rust-windowing#368 - pcwalton:vector-additions, r=pcwalton