Skip to content

screenShield: Fix pointer motion signal handler leak

Ray Strode requested to merge wip/fix-screen-shield-motion-handler-leak into master

The screen shield code listens for motion events on the stage so that it can hide the pointer until the user moves the mouse.

Unfortunately, if the user never moves the mouse, the signal handler connection gets leaked.

This commit makes sure the connection gets disconnected when the shield goes away.

Merge request reports