linux-wallpaperengine icon indicating copy to clipboard operation
linux-wallpaperengine copied to clipboard

How to disable mouse input?

Open maltsaar opened this issue 1 year ago • 3 comments

Everything is almost perfect.

On my Wayland compositor sway there's an occasional issue where the mouse input can cause the wallpaper to move erraticaly.

Is there any way to disable the mouse input for the wallpaper?

maltsaar avatar Aug 03 '23 05:08 maltsaar

There's no option yet, but yes, I can add it. Can you describe the issue with the mouse a bit more in detail? Maybe it's something I can fix too.

Almamu avatar Aug 30 '23 07:08 Almamu

Thanks for answering!

Essentially what happens:

  • The wallpaper is suddenly replaced with a gray color
  • I switch to an empty workspace
  • I move around the mouse a bit
  • The wallpaper diagonally comes back into view from the top-left part of the screen and settles back normally

Wallpaper I'm using: 2550233190

It's kind of annoying because I haven't found a way to replicate the issue normally. It just happens occasionally and at random.

The only reason I think it's something to do with the mouse movement is because that seems to be the only way to manipulate the positioning of the wallpaper/canvas.

maltsaar avatar Sep 12 '23 16:09 maltsaar

This sounds like an issue with the parallax calculations for the background. I've added support for disabling the mouse position detection, but it might not solve your issue, depending on the real cause. I'll take a closer look at the background and see If I can reproduce the issue.

Almamu avatar Sep 23 '23 16:09 Almamu