Merge lp://staging/~brandontschaefer/compiz/fix-lp.892012 into lp://staging/compiz/0.9.10
Status: | Rejected |
---|---|
Rejected by: | Brandon Schaefer |
Proposed branch: | lp://staging/~brandontschaefer/compiz/fix-lp.892012 |
Merge into: | lp://staging/compiz/0.9.10 |
Diff against target: |
87 lines (+15/-8) 2 files modified
src/privatewindow.h (+1/-0) src/window.cpp (+14/-8) |
To merge this branch: | bzr merge lp://staging/~brandontschaefer/compiz/fix-lp.892012 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Sam Spilsbury | Needs Fixing | ||
MC Return | Approve | ||
Review via email: mp+168519@code.staging.launchpad.net |
Commit message
Only Save the windows X position when going into a full max if our last state was not a semi max.
Description of the change
If we are only doing a full maximize, do what we normally do.
If we are going to semi maximize first, save the XYWH geo, if we then go to a full max and we had just done a semi max don't save/restore anything since we already have.
Overall the problem was not knowing what our last state was. For example if we go from a semi max to a full max the full max will save CWX position, which since its semi max overwrites the original position before going into any maxed state. So now we see if we are only doing a vert max, save all the XYWH window positions and when we are leaving restore them.
Looking into doing test atm...
Unmerged revisions
- 3743. By Brandon Schaefer
-
* fix else if indent
- 3742. By Brandon Schaefer
-
* Work with Horz max as well now
- 3741. By Brandon Schaefer
-
* Init lastState in PrivateWindow ctor.
- 3740. By Brandon Schaefer
-
* another try...
- 3739. By Brandon Schaefer
-
* Hopefully this fixes indenting problems!
- 3738. By Brandon Schaefer
-
* Uses the last window state to see if we need to save anything when doing a full max.
* We now assume to save x,y,w,h unless we are also doing a horz max, along with a vert.
Could you post a way how to reproduce the problem ? I cannot reproduce it in trunk.