Merge ~mitya57/compiz:s390x-test into compiz:master
Proposed by
Dmitry Shachnev
Status: | Merged |
---|---|
Approved by: | Alberts Muktupāvels |
Approved revision: | 7f33e338378237772ff7aa4c05153da8528570f1 |
Merged at revision: | 197d38da1c83be064b805cf8fa304fb6e4f4a66e |
Proposed branch: | ~mitya57/compiz:s390x-test |
Merge into: | compiz:master |
Diff against target: |
29 lines (+3/-3) 2 files modified
src/window.cpp (+2/-2) tests/system/xorg-gtest/tests/compiz_xorg_gtest_test_window_stacking.cpp (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberts Muktupāvels | Approve | ||
Review via email:
|
Commit message
Use unsigned long for getting/setting _NET_WM_USER_TIME property, to fix tests on s390x.
Description of the change
Use unsigned long for getting/setting _NET_WM_USER_TIME property
The XChangeProperty / XGetWindowProperty man page says:
> If the specified format is 32, the property data must be a long array.
and:
> If the returned format is 32, the returned data is represented as a long
> array and should be cast to that type to obtain the elements.
This fixes the test failure on s390x.
Thanks to Jakub Jelinek for pointing me to it!
To post a comment you must log in.
I think it may be worthwhile to try and figure out why this test is failing - could be a timing related issue perhaps?