//go:build !windows package main // The screen geometry helpers are Windows-only; elsewhere we cannot tell where // the monitors are, and the callers treat "cannot tell" as "trust the operator's // saved position" rather than second-guessing it. func virtualScreenBounds() (x, y, w, h int, ok bool) { return 0, 0, 0, 0, false } func onSomeMonitorImpl(x, y, w, h int) bool { return true } func clampToVisible(x, y, w, h int) (int, int, bool) { return x, y, false } func logMonitorLayout() {} // monitorRects cannot be answered off Windows: Wails exposes no monitor // geometry, and X11/Wayland disagree about whether a client may even ask. The // empty list is the "cannot tell" the callers above already handle by trusting // the operator's saved position. func monitorRects() []screenRect { return nil } // describeMonitors still has to say something in the log — a window nobody can // see is reported as "OpsLog did not start", and the log line is the first // thing looked at. func describeMonitors(rects []screenRect) string { return "monitor layout unavailable on this platform" }