Skip to content

wayland supp #783

Description

@1framepersomtimes

Hi got a issue on wayland unfortunately when i run this


import (
	"fmt"
	"time"

	"github.com/go-vgo/robotgo"
)

func main() {
	for i := 0; i < 100; i++ {
		x, y := robotgo.Location()
		fmt.Printf("Position: %d, %d\n", x, y)
		time.Sleep(1 * time.Second)
	}
}

im not able to get mouse pos updates nor move the mouse i only get one update or sometimes none
im building with
go build -tags libei .

also the Click function works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions