Skip to content

CursorMoved and MouseInput events happening in title bar #560

Closed

Description

@Dooskington

On macOS High Sierra, it seems like I am getting window events that I shouldn't be, when clicking on the title bar / window decoration area.

Is this a bug or intentional? I think these window events should be restricted to happen only in the inner window. I even loaded up a C++ SDL project to check how they handle it, and it does ignore the equivalent events in the title bar.

Activity

  1. added
    B - bug
    DS - appkit
    C - needs investigation
    on Jun 8, 2018
  2. francesca64 commented on Jun 8, 2018

    @francesca64
    Member

    This isn't intentional, and is hopefully easy to fix. I won't be able to get to it today though.

  3. francesca64 commented on Jun 9, 2018

    @francesca64
    Member

    This looks like it happens because we're getting "raw" events from NSApp instead of responding to events through NSView, and since I created the necessary infrastructure in #518 this should indeed be easy.

  4. francesca64 commented on Jun 9, 2018

    @francesca64
    Member

    Here you go: #561

  5. added
    C - in progress
    and removed
    C - needs investigation
    on Jun 9, 2018
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

    B - bugC - in progressDS - appkit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions