~ci-train-bot/unity/unity-ubuntu-disco-3336

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/unityshell.h

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-07-03 15:38:43 UTC
  • mfrom: (4243.1.5 compiz-average-color)
  • Revision ID: ci-train-bot@canonical.com-20170703153843-tr37wsspsn9dpsvn
BGHash, UnityScreen: get desktop averageColor from compiz

compiz now supports getting this value, let's use it instead of
doing this again here.

Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
  bool initPluginForScreen(CompPlugin* p) override;
164
164
 
165
165
  void outputChangeNotify() override;
 
166
  void averageColorChangeNotify(const unsigned short *color) override;
166
167
 
167
168
  CompAction::Vector& getActions() override;
168
169
 
282
283
 
283
284
  bool SaveInputThenFocus(const guint xid);
284
285
 
285
 
  void OnDecorationStyleChanged();
 
286
  void UpdateDecorationStyle();
286
287
 
287
288
  void InitGesturesSupport();
288
289
  void UpdateGesturesSupport();