~uriboni/metacity/capture-before-unmap

Viewing all changes in revision 3615.

  • Committer: Ugo Riboni
  • Date: 2011-02-01 23:16:01 UTC
  • Revision ID: ugo.riboni@canonical.com-20110201231601-p70c0xpg340yywy8
Add the following feature: when a window is minimized or sent to another workspace, its pixmap is grabbed and saved in a property on the window. When the window comes back to visibility, that property (and the pixmap) is deleted.

This feature is needed for unity-2d's workspaces switcher, which can't otherwise capture the pixmap of windows in other workspaces since metacity unmaps them.

There's still some polish to do and the feature has to be made configurable.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: