diff options
author | Sven Gothel <[email protected]> | 2023-09-29 00:08:23 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-29 00:08:23 +0200 |
commit | a0e6d5883de009d4649d011633090d7660fa229a (patch) | |
tree | 36d090007ea5c44aba06ea7ebafc7a1dad277941 /make/scripts/tests-x64.sh | |
parent | c5fde40428937c08486226e9d4488a0ca1a00377 (diff) |
Bug 1431: Fix NewtCanvasAWT resize on X11, broken since commit ad38d1559854985b1131e5b6c7274a392b5bc265
Commit ad38d1559854985b1131e5b6c7274a392b5bc265 introduced XTranslateCoordinates(..) to savely validate
the client-space window position against the parent (root).
Totally missing in this change was the NEWT child window case
since it always used the root-window as the destination.
This change tracks the parent-window (valid parent Window or NULL)
within the JavaWindow struct and either uses the parent-window
if available or the root-window for XTranslateCoordinates(..).
This results in the proper client-space position.
Validated against
- TestGearsES2NewtCanvasAWT
- TestBug1431NewtCanvasAWT
on Debian 12 w/ Java17.
Diffstat (limited to 'make/scripts/tests-x64.sh')
-rwxr-xr-x | make/scripts/tests-x64.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make/scripts/tests-x64.sh b/make/scripts/tests-x64.sh index 1da3b12f0..ef9c34a0d 100755 --- a/make/scripts/tests-x64.sh +++ b/make/scripts/tests-x64.sh @@ -21,6 +21,8 @@ fi export SWT_CLASSPATH=`pwd`/lib/swt/gtk-linux-x86_64/swt.jar #export SWT_CLASSPATH=/usr/local/projects/JOGL/SWT/swt-4.3.0/gtk-linux-x86_64/swt-debug.jar +#export OPENJFX_CLASSPATH=/usr/share/openjfx/lib/javafx.base.jar:/usr/share/openjfx/lib/javafx.graphics.jar + #JAVA_CMD=/opt-linux-x86_64/zulu19.32.13-ca-jdk19.0.2-linux_x64/bin/java JAVA_CMD=`which java` |