-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#34093Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopa: qualityA truly polished experienceA truly polished experiencec: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
Currently macOS apps made with Flutter require a click to activate the window first, then another click to click on a button.
Most of the time this is what you want, but some apps (like floating utility apps) need the first click to activate the window and send the click to Flutter.
Also if you have a custom drag area in your Flutter window, you need the ability to click and drag un-active windows.
Inside FlutterView.mm we need a way to enable this:
- (BOOL)acceptsFirstMouse:(NSEvent*)event {
return YES;
}
I compiled the engine and testing this and it works. But probably not everyone will want "YES" so we need a way to turn this on or off.
sgehrman, KevinBrendel, awood314 and hbursk
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopa: qualityA truly polished experienceA truly polished experiencec: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically