Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add constants
  • Loading branch information
dkwingsmt committed Sep 22, 2023
commit 14b430809588f0827ac8c4db41487f42c07c1c3e
3 changes: 2 additions & 1 deletion shell/platform/windows/flutter_windows_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <chrono>

#include "flutter/common/constants.h"
#include "flutter/fml/platform/win/wstring_conversion.h"
#include "flutter/shell/platform/common/accessibility_bridge.h"
#include "flutter/shell/platform/windows/keyboard_key_channel_handler.h"
Expand Down Expand Up @@ -495,7 +496,7 @@ void FlutterWindowsView::SendPointerEventWithData(
PointerState* state) {
// TODO(dkwingsmt): The Windows embedder doesn't support multi-view for now.
// Use the real view ID when it does.
int64_t view_id = kImplicitViewId;
int64_t view_id = flutter::kFlutterImplicitViewId;

// If sending anything other than an add, and the pointer isn't already added,
// synthesize an add to satisfy Flutter's expectations about events.
Expand Down