Files
openchamber-android-native/third_party/mygo/internal/e2e/data_drag_windows_test.go
T

14 lines
455 B
Go
Raw Normal View History

//go:build windows && (amd64 || arm64)
package e2e
import (
"github.com/egoist/mygo"
"github.com/egoist/mygo/internal/windows"
"github.com/egoist/mygo/transfer"
)
func dropNativeData(w *mygo.Window, x, y float64, d transfer.Data, ops transfer.Operation) (operation transfer.Operation, dropped, supported bool) {
mygo.RunOnMain(func() { operation, dropped = windows.TestDropData(w.NativeHandle(), x, y, d, ops) })
return operation, dropped, true
}