Mouse pointer constantly flickering
by resolver from LinuxQuestions.org on (#55GGT)
Has anyone noticed in Slackware ARM (I'm using the Raspberry pi 4b) that the mouse pointer is constantly flickering?
This is a defect that's very odd because it was literally 30 years ago that this problem was solved, specifically when drawing needs to be done by X Windows, they don't erase the mouse pointer first, then draw, then redraw the mouse pointer-- especially if the drawing is being done somewhere far from where the mouse pointer is. They used clipping rectangles to avoid redrawing the mouse pointer and a mask to draw around it so that it is never undrawn-and-redrawn.
But the defect is so bad that if I move the mouse pointer onto the desktop, it still flickers. This feels like someone made a change to the code who didn't understand the code.
The mouse pointer flickers when:
- the clock panel increases the time each second
- the weather panel does any update or animation
- a video is playing somewhere on-screen (it seems with every frame)
- a web page updates itself.


This is a defect that's very odd because it was literally 30 years ago that this problem was solved, specifically when drawing needs to be done by X Windows, they don't erase the mouse pointer first, then draw, then redraw the mouse pointer-- especially if the drawing is being done somewhere far from where the mouse pointer is. They used clipping rectangles to avoid redrawing the mouse pointer and a mask to draw around it so that it is never undrawn-and-redrawn.
But the defect is so bad that if I move the mouse pointer onto the desktop, it still flickers. This feels like someone made a change to the code who didn't understand the code.
The mouse pointer flickers when:
- the clock panel increases the time each second
- the weather panel does any update or animation
- a video is playing somewhere on-screen (it seems with every frame)
- a web page updates itself.