Merge lp:~smspillaz/compiz-core/compiz-core.fix_878934 into lp:compiz-core/0.9.5
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 2896 | ||||
Proposed branch: | lp:~smspillaz/compiz-core/compiz-core.fix_878934 | ||||
Merge into: | lp:compiz-core/0.9.5 | ||||
Diff against target: |
204 lines (+60/-33) 4 files modified
plugins/decor/src/decor.cpp (+30/-13) plugins/decor/src/decor.h (+2/-0) po/POTFILES.in (+0/-3) src/window.cpp (+28/-17) |
||||
To merge this branch: | bzr merge lp:~smspillaz/compiz-core/compiz-core.fix_878934 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gord Allott (community) | Approve | ||
Review via email:
|
Description of the change
Fixes incorrect _NET_REQUEST_
Previously, we would not allow any window to be decorated if it was not yet reparented, eg if a window as pending a map. However, clients are supposed to request frame extents before the window is mapped, so we need to generate a decoration (even if it is a default one) for the window as soon as we get a _NET_REQUEST_
Also, we should always set the _NET_FRAME_EXTENTS property on the window, even if the window does not receive a frame (but a plugin has indicated that it is *capable* of receiving one, eg an initially undecorated window in the decor plugin). Some clients require that the property is set in response to _NET_REQUEST_
Fixes bug 878934
Testcase (using lp:xwmqa) - lp:~smspillaz/+junk/wait-frame-extents-test