#881·pyautogui

Wayland apps do not update the mouse position

Author: Anonymous941Created Aug 29, 2024Updated May 15, 2026

A workaround is to allow using xorg utilities, as xdotool getmouselocation shows the correct location, but only when it is over an XWayland (not native Wayland) app Never mind, it's the other way around. Native Wayland apps do not update the mouse position, only XWayland does