I am trying to detect whether the mouse cursor is over the title bar of a window or not. I was able to achieve this in X11 using the commands listed in this Ask Ubuntu question, but these commands do not work well in Wayland. For example, xdotool getmouselocation
gives the location in a strange way and always gives the same window ID, except for Google Chrome and other applications like TeamViewer. This means that I cannot get any information about each window or compare the mouse location to the title bar to determine whether it is over the title bar. Do you know of any method that would allow me to achieve this in KDE with Wayland
Asked
Active
Viewed 98 times
1

NotTheDr01ds
- 17,888

Sebastian E.
- 23