Merge lp:~dandrader/qtubuntu/useApplicationStateAPI into lp:qtubuntu
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Gerry Boland on 2015-11-24 | ||||
| Approved revision: | 291 | ||||
| Merged at revision: | 298 | ||||
| Proposed branch: | lp:~dandrader/qtubuntu/useApplicationStateAPI | ||||
| Merge into: | lp:qtubuntu | ||||
| Prerequisite: | lp:~albaguirre/qtubuntu/use-mir-surface-apis | ||||
| Diff against target: |
70 lines (+16/-5) 3 files modified
src/ubuntumirclient/input.cpp (+7/-0) src/ubuntumirclient/integration.cpp (+9/-4) src/ubuntumirclient/window.cpp (+0/-1) |
||||
| To merge this branch: | bzr merge lp:~dandrader/qtubuntu/useApplicationStateAPI | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2015-11-17 | Approve on 2015-11-24 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-11-20 | |
|
Review via email:
|
|||
Commit Message
Implement support for application state
Adapted code contribution from Sam Segers.
Also brought QWindowSystemIn
Description of the Change
Tested on Nexus 4. Works as expected.
| Gerry Boland (gerboland) wrote : | # |
+ case ApplicationState:
+ return true;
+ break;
no need to break if you return.
- QWindowSystemIn
that is a weird line to exist. Alberto added it, with comment "Ignore unfocusing events", would like to know why.
Otherwise code looks ok, need to test
- 291. By Daniel d'Andrada on 2015-11-20
-
Remove redundant break
| Daniel d'Andrada (dandrader) wrote : | # |
> + case ApplicationState:
> + return true;
> + break;
> no need to break if you return.
Fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:291
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
Tested on Bq, found no regression in the random selection of app I tried.

PASSED: Continuous integration, rev:290 jenkins. qa.ubuntu. com/job/ qtubuntu- ci/280/ jenkins. qa.ubuntu. com/job/ qtubuntu- wily-armhf- ci/71 jenkins. qa.ubuntu. com/job/ qtubuntu- wily-armhf- ci/71/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtubuntu- ci/280/ rebuild
http://