From kde-core-devel Sun Jan 05 08:55:03 2014 From: "Wolfgang Bauer" Date: Sun, 05 Jan 2014 08:55:03 +0000 To: kde-core-devel Subject: Review Request 114841: Screenlocker: don't set the mouse cursor when grabbing the mouse Message-Id: <20140105085503.15366.31183 () probe ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=138891214825901 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2534776804446543441==" --===============2534776804446543441== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/114841/ ----------------------------------------------------------- Review request for kde-workspace and Martin Gräßlin. Bugs: 311571 and 316459 http://bugs.kde.org/show_bug.cgi?id=311571 http://bugs.kde.org/show_bug.cgi?id=316459 Repository: kde-workspace Description ------- Setting the cursor to ArrowCursor when calling XGrabPointer() prevents the Screen savers from blanking the mouse cursor. I don't know why this has been done in the first place, but I couldn't see any negative effect by setting it to None. Now the mouse cursor even changes to the IBeam again when over the password field, which I find more intuitive. Diffs ----- ksmserver/screenlocker/ksldapp.cpp f0526cf Diff: https://git.reviewboard.kde.org/r/114841/diff/ Testing ------- Configure a Screen saver in systemsettings and wait for it to kick in (or lock the screen manually). Previously (since 4.10) the mouse cursor stayed visible, now it is blanked like it was the case before 4.10. Moving the mouse/pressing a key (to quit the Screen saver) makes the mouse cursor appear again as it should, regardless of whether the screen is locked or not. Thanks, Wolfgang Bauer --===============2534776804446543441== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/114841/

Review request for kde-workspace and Martin Gräßlin.
By Wolfgang Bauer.
Bugs: 311571, 316459
Repository: kde-workspace

Description

Setting the cursor to ArrowCursor when calling XGrabPointer() prevents the Screen savers from blanking the mouse cursor.

I don't know why this has been done in the first place, but I couldn't see any negative effect by setting it to None. Now the mouse cursor even changes to the IBeam again when over the password field, which I find more intuitive.

Testing

Configure a Screen saver in systemsettings and wait for it to kick in (or lock the screen manually).
Previously (since 4.10) the mouse cursor stayed visible, now it is blanked like it was the case before 4.10.
Moving the mouse/pressing a key (to quit the Screen saver) makes the mouse cursor appear again as it should, regardless of whether the screen is locked or not.

Diffs

  • ksmserver/screenlocker/ksldapp.cpp (f0526cf)

View Diff

--===============2534776804446543441==--