> Some tests try to get the focus of a window by clicking on its title bar.
> 
> On XWayland, however, emulating mouse clicks with XTEST currently only 
> affects the XWayland server, not the window decorations, so trying to click 
> on the window title will have no effect.
> 
> So the solution is to click inside the window or call `toFront()` to get the 
> window focused.
> 
> Some tests have issues with AWT/Swing calls not being on EDT, it is not the 
> goal of this change to fix them as they require way too many code changes, 
> and make this PR hard to review.

Alexander Zvegintsev has updated the pull request incrementally with one 
additional commit since the last revision:

  review comments

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/18995/files
  - new: https://git.openjdk.org/jdk/pull/18995/files/c2f63151..ef4d7716

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18995&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18995&range=00-01

  Stats: 39 lines in 6 files changed: 15 ins; 12 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/18995.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18995/head:pull/18995

PR: https://git.openjdk.org/jdk/pull/18995

Reply via email to