Merge lp://staging/~dgadomski/compiz/remember-focus into lp://staging/compiz/0.9.12
Proposed by
Dariusz Gadomski
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | 3895 |
Merged at revision: | 3891 |
Proposed branch: | lp://staging/~dgadomski/compiz/remember-focus |
Merge into: | lp://staging/compiz/0.9.12 |
Diff against target: |
127 lines (+60/-0) 3 files modified
metadata/core.xml.in (+5/-0) src/privatescreen.h (+17/-0) src/screen.cpp (+38/-0) |
To merge this branch: | bzr merge lp://staging/~dgadomski/compiz/remember-focus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+236735@code.staging.launchpad.net |
Commit message
CompScreen: Save focused window id before changing viewport.
This allows to restore focus after returning to one of the previous viewport positions.
Introduces a new setting (General Options / Focus & Raise Behaviour / Remember Focus)
Description of the change
Save focused window id before changing viewport. This allows to restore focus after returning to one of the previous viewport positions.
Introduces a new setting (General Options / Focus & Raise Behaviour / Remember Focus)
Fixes: 1125442
To post a comment you must log in.
Just a few inline comments...
One thing on style, make sure that you follow the compiz style, for example, adding one space between the function name and the parenthesis (such as "function ();").
Also, the indentation should be (a little annoying, I know :P):
1st level: 4 spaces, 2nd level 1 tab (set at 8 spaces), 3rd level: 1 tab + 4 spaces, 4th level: 2 tabs, and so on... :)