commit | e5e75504009602f5576d60d4117362c69c6fc3b0 | [log] [tgz] |
---|---|---|
author | Alexander Kurtakov <akurtako@redhat.com> | Wed Aug 23 15:20:12 2017 +0300 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Tue Nov 14 16:03:03 2017 +0200 |
tree | 6b060665552c72f3ae1a061651f383a975936489 | |
parent | 9de5be8832286e9657e88362f7a2e30f4e9ab0cd [diff] |
Bug 519808 - [GTK] Shell.getBounds returns obsolete values Function gtk_window_get_position is unreliable due to specifics of WMs. Use gdk_window_get_root_origin to get position in root window coordinates. Note: This will stay broken on Wayland as there are no root coordinates on Wayland Using gdk_window_get_root_origin before it's mapped returns 0,0 coordinates. As gtk_window_get_position returns correct coordinates in general except after unmap when it returns the last "set" coordinates gdk_window_get_root_origin should be used only for DISPOSE_SENT to retrieve the last real coordinates. Change-Id: I3b217410901fb7506f5d34b603711002bc0553ee Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!