Merge lp:~townsend/unity/fix-lp1308265-trusty into lp:unity/7.2

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: no longer in the source branch.
Merged at revision: 3828
Proposed branch: lp:~townsend/unity/fix-lp1308265-trusty
Merge into: lp:unity/7.2
Diff against target: 14 lines (+3/-1)
1 file modified
lockscreen/LockScreenController.cpp (+3/-1)
To merge this branch: bzr merge lp:~townsend/unity/fix-lp1308265-trusty
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Stephen M. Webb (community) Approve
Review via email: mp+259291@code.launchpad.net

Commit message

Forward first key event that happens on top of the blank window to the lockscreen.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Stephen M. Webb (bregma) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lockscreen/LockScreenController.cpp'
--- lockscreen/LockScreenController.cpp 2014-12-16 19:27:36 +0000
+++ lockscreen/LockScreenController.cpp 2015-05-15 19:56:12 +0000
@@ -322,7 +322,9 @@
322 blank_window_->mouse_move.connect([this](int, int, int dx, int dy, unsigned long, unsigned long) {322 blank_window_->mouse_move.connect([this](int, int, int dx, int dy, unsigned long, unsigned long) {
323 if ((dx || dy) && !lockscreen_timeout_) HideBlankWindow();323 if ((dx || dy) && !lockscreen_timeout_) HideBlankWindow();
324 });324 });
325 blank_window_->key_down.connect([this] (unsigned long, unsigned long e, unsigned long, const char*, unsigned short) {325 blank_window_->key_down.connect([this] (unsigned long et, unsigned long k, unsigned long s, const char* c, unsigned short kc) {
326 if (prompt_view_.GetPointer() && prompt_view_->focus_view())
327 prompt_view_->focus_view()->key_down.emit(et, k, s, c, kc);
326 if (!lockscreen_timeout_) HideBlankWindow();328 if (!lockscreen_timeout_) HideBlankWindow();
327 });329 });
328 blank_window_->mouse_down.connect([this] (int, int, unsigned long, unsigned long) {330 blank_window_->mouse_down.connect([this] (int, int, unsigned long, unsigned long) {

Subscribers

People subscribed via source and target branches

to status/vote changes: