diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-04-10 03:46:19 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-04-10 03:46:19 +0200 |
| commit | cbcc807fb1275274afcd04e5e24e7741dc802a8d (patch) | |
| tree | a5a359984c8eb540a7a6a3366dfdba0a5a179271 /lockscreen | |
| parent | 93d9297d32dde02370fa2f4e801b7bc0b1ffb02b (diff) | |
LockScreenController: increase the lockscreen timeout wait to be bigger to a frame duration
(bzr r3736.1.39)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/LockScreenController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lockscreen/LockScreenController.cpp b/lockscreen/LockScreenController.cpp index 0275cdb16..d570a8c20 100644 --- a/lockscreen/LockScreenController.cpp +++ b/lockscreen/LockScreenController.cpp @@ -304,7 +304,7 @@ void Controller::OnLockRequested(bool prompt) blank_window_->SetOpacity(1.0); } - lockscreen_timeout_.reset(new glib::Timeout(10, [this, prompt] { + lockscreen_timeout_.reset(new glib::Timeout(30, [this, prompt] { bool grabbed_by_blank = (blank_window_ && blank_window_->OwnsPointerGrab()); if (WindowManager::Default().IsScreenGrabbed() && !grabbed_by_blank) |
