Fix the userswitcher when using the mouse for switching
ClosedPublic

Authored by fvogt on Feb 24 2018, 5:38 PM.

Details

Summary

Clicking on a button makes Qt grab the pointer, which means the screen can't be
locked. As we wait for the screen to be locked before switching, this never
happens.

BUG: 391007

Test Plan

Previously the userswitcher only worked on every second try, now it works
always on the first click.

Diff Detail

Repository
R120 Plasma Workspace
Branch
Plasma/5.12
Lint
No Linters Available
Unit
No Unit Test Coverage
fvogt created this revision.Feb 24 2018, 5:38 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 24 2018, 5:38 PM
fvogt requested review of this revision.Feb 24 2018, 5:38 PM
broulik accepted this revision.Feb 25 2018, 5:41 PM
This revision is now accepted and ready to land.Feb 25 2018, 5:41 PM
This revision was automatically updated to reflect the committed changes.