Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2019-04-16 15:51:13 -0400
committerEric Williams2019-04-17 09:49:43 -0400
commit43987e44f8a5a494a8bb49a18d0c9258dcbace1b (patch)
treeada5f5f21522a0297e94b09470213f7f3e11c7a5 /pom.xml
parentf05aa6b2a7a23b2cadd893812efb505061017fcb (diff)
downloadeclipse.platform.swt-43987e44f8a5a494a8bb49a18d0c9258dcbace1b.tar.gz
eclipse.platform.swt-43987e44f8a5a494a8bb49a18d0c9258dcbace1b.tar.xz
eclipse.platform.swt-43987e44f8a5a494a8bb49a18d0c9258dcbace1b.zip
Bug 546493: [GTK4] Button click coordinates are incorrect for some cases
This is a two-part fix: 1) Adjust the sendMouseDown() function in Control, as event coordinates on GTK4 are already parent relative. 2) Table/Tree have headers built into the GtkTreeview's surface, meaning the y-coordinates will include the height of the header. This throws off any geometry-item querying code in Table/Tree. The fix is to adjust the coordinates to account for the size of the header. GTK3 doesn't have this problem because the header has its own GdkWindow which is separate from the rest of the Table/Tree. Tested using Snippet3 on GTK4. Change-Id: Ia68a6edb376a823dc3beb57e4db084075e42138b Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions

Back to the top