Skip to content

Can't resive/move windows without decorations (on macOS?) #368

Closed

Description

Activity

  1. added
    DS - appkit
    on Dec 18, 2017
  2. robertgzr commented on Jan 9, 2018

    @robertgzr
    ContributorAuthor

    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]

    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 winit though...

    /cc @tomaka

  3. added a commit that references this issue on Feb 19, 2018
    78b2441
  4. added a commit that references this issue on Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - appkit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions