mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix copy/paste in the Linux embedding (flutter/engine#18624)
The recent refactoring to support headless mode accidentally passed nullptr instead of the window (if any) to the platform handler that manages clipboard interactions, causing it to be broken. Fixes https://github.com/flutter/flutter/issues/58035
This commit is contained in:
parent
bcffa0ad1c
commit
135f9a33ca
@ -652,7 +652,7 @@ static void SetUpCommonEngineState(FlutterDesktopEngineState* state,
|
||||
|
||||
// System channel handler.
|
||||
state->platform_handler = std::make_unique<flutter::PlatformHandler>(
|
||||
state->internal_plugin_registrar->messenger(), nullptr);
|
||||
state->internal_plugin_registrar->messenger(), window);
|
||||
}
|
||||
|
||||
bool FlutterDesktopInit() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user