Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CursorMoved and MouseInput events happening in title bar #560

Closed
Dooskington opened this issue Jun 8, 2018 · 3 comments
Closed

CursorMoved and MouseInput events happening in title bar #560

Dooskington opened this issue Jun 8, 2018 · 3 comments
Labels
B - bug Dang, that shouldn't have happened C - in progress Implementation is proceeding smoothly DS - macos

Comments

@Dooskington
Copy link

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.

@francesca64 francesca64 added B - bug Dang, that shouldn't have happened DS - macos C - needs investigation Issue must be confirmed and researched labels Jun 8, 2018
@francesca64
Copy link
Member

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

@francesca64
Copy link
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.

@francesca64
Copy link
Member

Here you go: #561

@francesca64 francesca64 added C - in progress Implementation is proceeding smoothly and removed C - needs investigation Issue must be confirmed and researched labels Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened C - in progress Implementation is proceeding smoothly DS - macos
Development

No branches or pull requests

2 participants