Bug 546248: [GTK3] Composite receives to much repaint events

As of GTK3.16, GTK will send extra draw events to SwtFixed instances
containing overlay scrollbars. This happens when the mouse leaves
an SwtFixed instance that has overlay scrollbars attached to it.

The fix is to check the dirty region in need of a redraw, and only
sent an SWT.Paint event if the actual SwtFixed instance is in need
of a redraw.

Tested on GTK3.24 on X11 and Wayland. No AllNonBrowser JUnit tests
fail.

Change-Id: I958b4c16020a14f6f24e6e3d1ca67aba2ebec329
Signed-off-by: Eric Williams <ericwill@redhat.com>
3 files changed
tree: 7e7cb8d279489dae3d71a707f3c4fba36d638de8
  1. .gitignore
  2. CONTRIBUTING
  3. LICENSE
  4. NOTICE
  5. README.md
  6. bundles/
  7. examples/
  8. features/
  9. local-build/
  10. pom.xml
  11. tests/
README.md

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:

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!