Merge lp:~sil2100/compiz/quickfix_1141079_trunk into lp:compiz/0.9.10
Status: | Merged |
---|---|
Approved by: | Łukasz Zemczak |
Approved revision: | 3646 |
Merged at revision: | 3649 |
Proposed branch: | lp:~sil2100/compiz/quickfix_1141079_trunk |
Merge into: | lp:compiz/0.9.10 |
Diff against target: |
242 lines (+137/-22) 5 files modified
src/event.cpp (+21/-19) tests/system/xorg-gtest/tests/compiz_xorg_gtest_configure_window.cpp (+99/-0) tests/xorg-gtest/include/compiz-xorg-gtest.h (+2/-1) tests/xorg-gtest/plugins/testhelper/src/testhelper.cpp (+1/-0) tests/xorg-gtest/src/compiz-xorg-gtest.cpp (+14/-2) |
To merge this branch: | bzr merge lp:~sil2100/compiz/quickfix_1141079_trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Compiz Maintainers | Pending | ||
Review via email: mp+157084@code.launchpad.net |
This proposal supersedes a proposal from 2013-04-03.
Commit message
Qt is stupid since it uses the stupid X11 protocol - let's not set all the attributes (especially override_redirect) every time, only in cases when it's actually needed (LP: #1141079)
Description of the change
- Problem:
The fix introduced in revision 3606 triggers a regression with Qt menus. It seems that passing on the override_redirect state from xcreatewindow results in this regression happening. Pop-up menus in Qt apps sometimes are detected as a separate window.
- Fix:
We try not to invalidly unnecessarily pass the additional attributes to the event when there is no need. This way the override_redirect attribute is not corrupted and all is cool.
- Tests:
Attached related gtest tests.
(once this branch gets approved, please approve the raring one as well:
https:/
FAILED: Continuous integration, rev:3646 jenkins. qa.ubuntu. com/job/ compiz- ci/120/ jenkins. qa.ubuntu. com/job/ compiz- gles-ci/ ./build= pbuilder, distribution= raring, flavor= amd64/157/ console jenkins. qa.ubuntu. com/job/ compiz- pbuilder/ ./build= pbuilder, distribution= raring, flavor= amd64/509/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ compiz- ci/120/ rebuild
http://