~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to unity-shared/PluginAdapter.h

  • Committer: Tarmac
  • Author(s): Brandon Schaefer
  • Date: 2013-07-12 16:06:39 UTC
  • mfrom: (3377.2.4 show-desktop-fix)
  • Revision ID: tarmac-20130712160639-ozeg4qp20dp97ms3
Show desktop now only works for individual workspaces. Also if any new windows are opened, or one is restored on that workspace then the next Show desktop will minimize those. The only time windows are restored are when no new windows have been mapped, and no windows have been restored for that workspace only. Fixes: https://bugs.launchpad.net/bugs/966030.

Approved by PS Jenkins bot, Christopher Townsend, Marco Trevisan (Treviño).

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
 
98
98
  void OnShowDesktop ();
99
99
  void OnLeaveDesktop ();
 
100
  void UpdateShowDesktopState();
100
101
 
101
102
  void TerminateScale();
102
103
  bool IsScaleActive() const;
206
207
  unsigned long GetMwnDecorations(Window xid) const;
207
208
 
208
209
  Window GetTopMostValidWindowInViewport() const;
 
210
  bool IsCurrentViewportEmpty() const;
209
211
 
210
212
  std::string GetTextProperty(Window xid, Atom atom) const;
211
213
  std::string GetUtf8Property(Window xid, Atom atom) const;