summaryrefslogtreecommitdiff
path: root/dash
diff options
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2014-07-31 18:39:00 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-31 18:39:00 +0000
commita3547142c29510bf9512e8cf094f4b3bff5eddf6 (patch)
tree09e7ed3ab6cd4e3f852c75dd12ae311874ceceae /dash
parent7ca6f5931385f949ae6707b9e1a502ac518f96cb (diff)
parent51ac3b5314c19da3bb7f9ea494138ed91a3da013 (diff)
LockScreenShield: Add GrabScreen function and retry to make sure we really get grab
It might happen that the grab is not possible because the PluginAdapter::IsScreenGrabbed request has still not being fully processed, and thus nux is not able to grab the pointer/keyboard. By doing this we instead try to grab the screen, and if this is not happening, we wait a little until we don't get the ungrab event. In this way, if we eventually get the grab, all will work as expected. Otherwise, we cancel the lock request (very unlikely to happen). Fixes: 1349128 Approved by: Brandon Schaefer (bzr r3847)
Diffstat (limited to 'dash')
0 files changed, 0 insertions, 0 deletions