XWindowAttributes.x and y are in the coordinate of the parent window, so XTranslateCoordinates() should be used to do the translation. Meanwhile this change reduces the scope of the XErrorTrap in GetWindowList() function to ensure the callback can use other XErrorTrap to cover other X function calls. Bug: webrtc:7950 Change-Id: I520227b11704c5a0cb665d9de86925ed4e86540d Reviewed-on: https://chromium-review.googlesource.com/639590 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Zijie He <zijiehe@chromium.org> Cr-Commit-Position: refs/heads/master@{#19591}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.