~compiz-team/compiz-core/compiz-core.fix_864478

Viewing all changes in revision 2853.

  • Committer: Sam Spilsbury
  • Date: 2011-10-02 07:17:59 UTC
  • Revision ID: sam.spilsbury@canonical.com-20111002071759-eard0qhwhhxiu0jk
Rework the window shading system a bit.

There were a few changes in core to integrate better with window re-parenting which broke
the old method of doing shading. Now we update the shade state of the window when the window
is actually unmapped due to a shade and also ensure that the frame window is the right size
without touching the geometry of the client (such that CompWindow::geometry is representative
of the actual client geometry).

Also use the input extents last sent to server as a means to determine whether or not
window shading should be allowed rather than the extents last received as we don't update
the allowed window actions on input extents ConfigureNotify.

Fix LP#864478

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: