~hikiko/unity/unity.updated-schema-lowgfx

« back to all changes in this revision

Viewing changes to panel/PanelIndicatorEntryView.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2016-08-25 17:24:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4187.
  • Revision ID: mail@3v1n0.net-20160825172419-39s1i1gi568ued2q
PanelIndicatorEntryView: be the one who closes the dash on click

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "unity-shared/RawPixel.h"
34
34
#include "unity-shared/WindowManager.h"
35
35
#include "unity-shared/ThemeSettings.h"
 
36
#include "unity-shared/UBusWrapper.h"
 
37
#include "unity-shared/UBusMessages.h"
36
38
#include "unity-shared/UnitySettings.h"
37
39
 
38
40
namespace unity
117
119
    }
118
120
    else
119
121
    {
 
122
      if (overlay_showing_)
 
123
        UBusManager::SendMessage(UBUS_OVERLAY_CLOSE_REQUEST);
 
124
 
120
125
      WindowManager& wm = WindowManager::Default();
121
126
 
122
127
      if (wm.IsExpoActive())