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
Note: This will stay broken on Wayland as there are no root coordinates
on Wayland

Change-Id: Ie55ac57a60bae14fee2f9e13662e36cc9b4112aa
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
5 files changed
tree: e49e0b9ade1ba6deab94c25651c3acee1fd80039
  1. .gitignore
  2. README.md
  3. bundles/
  4. examples/
  5. features/
  6. local-build/
  7. pom.xml
  8. tests/

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

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.

Contributor License Agreement:

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.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!