diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-09-19 20:22:14 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-09-19 20:22:14 +0200 |
| commit | bf50922d936f50e31f4ea3e2d2827038a416306a (patch) | |
| tree | 8eb37e11cc31d5459a72afe3b6aacd620ac8db79 /lockscreen | |
| parent | 855ee1429c77c8dd0c424b012183832eaebb16f7 (diff) | |
LockScreenPanel: Activate the active entry during panel initialization
In this way we get the pointer motion events tracked and the proper indicator visual effect. (bzr r3871.3.5)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/LockScreenPanel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lockscreen/LockScreenPanel.cpp b/lockscreen/LockScreenPanel.cpp index 001b3cd44..2020420ac 100644 --- a/lockscreen/LockScreenPanel.cpp +++ b/lockscreen/LockScreenPanel.cpp @@ -118,6 +118,8 @@ void Panel::AddIndicator(Indicator::Ptr const& indicator) if (entry->active()) { active = true; + indicators_view_->ActivateEntry(entry->id()); + OnEntryActivated(GetPanelName(), entry->id(), entry->geometry()); break; } } |
