Merge lp://staging/~compiz-team/compiz-core/compiz-core.fix_864478 into lp://staging/compiz-core/0.9.5

Proposed by Sam Spilsbury
Status: Merged
Merged at revision: 2854
Proposed branch: lp://staging/~compiz-team/compiz-core/compiz-core.fix_864478
Merge into: lp://staging/compiz-core/0.9.5
Diff against target: 299 lines (+78/-54)
3 files modified
plugins/decor/src/decor.cpp (+7/-6)
src/event.cpp (+3/-2)
src/window.cpp (+68/-46)
To merge this branch: bzr merge lp://staging/~compiz-team/compiz-core/compiz-core.fix_864478
Reviewer Review Type Date Requested Status
Robert Carr (community) Approve
Review via email: mp+77807@code.staging.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Robert Carr (robertcarr) wrote :

Wheeeeeeeeeeeeeeeeeeeeeeeeeeeeee

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches