diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2016-07-28 16:44:12 +0200 | 
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2016-07-28 16:44:12 +0200 | 
| commit | 8b2d692bd589add06917293d032a6f58cfd16e45 (patch) | |
| tree | 67391d40b452f0d4e9e61ecf2a2716f273410250 /shutdown | |
| parent | c1f5463c91a7528ae013182ad0bc8b832d934fa6 (diff) | |
Close session dialog on first ESC.
Fixes LP: #1521116 (bzr r4153.8.1)
Diffstat (limited to 'shutdown')
| -rw-r--r-- | shutdown/SessionView.cpp | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/shutdown/SessionView.cpp b/shutdown/SessionView.cpp index 70534f0e7..422e3c934 100644 --- a/shutdown/SessionView.cpp +++ b/shutdown/SessionView.cpp @@ -356,14 +356,6 @@ nux::Area* View::FindKeyFocusArea(unsigned etype, unsigned long key_code, unsign  }  }  } - else if (key_code == NUX_VK_ESCAPE) - { - nux::InputArea* focused = nux::GetWindowCompositor().GetKeyFocusArea(); - - // Let's reset the focused area if we're in keyboard-navigation mode. - if (focused && focused->IsChildOf(buttons_layout_) && !focused->IsMouseInside()) - return this; - }  return UnityWindowView::FindKeyFocusArea(etype, key_code, modifiers);  } | 
