google / xsecurelock

X11 screen lock utility with security in mind
Apache License 2.0
863 stars 65 forks source link

In `auth_x11.c`, the `CreateOrUpdatePerMonitorWindow` function has be… #180

Open cysp74 opened 5 months ago

cysp74 commented 5 months ago

…en modified:

When the updated window is smaller in size (which can be caused by, eg. changing the keyboard layout) than the previous one, artifacts (parts of the previous window) may remain on the screen. To avoid this, XClearWindow is now called before UpdatePerMonitorWindows.

An example picture is attached. sample

google-cla[bot] commented 5 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.