RFR: 8338751: ConfigureNotify behavior has changed in KWin 6.2

Vlad Zahorodnii duke at openjdk.org
Mon Oct 14 18:12:42 UTC 2024


Prior to 6.2, kwin used to always send synthetic ConfigureNotify events regardless whether a real ConfigureNotify event is going to be sent. It used to do it because of some bugs in GTK2.

In 6.2, that workaround was dropped (it was needed to fix other issues during interactive resize) so kwin adheres to ICCCM 4.1.5 now.

Unfortunately, it seems like JDK relies on kwin always sending synthetic configure notify events, which is no longer the case.

This change makes AWT use the TranslateCoordinates request when a real ConfigureNotify event is received and running kwin as the window manager. It should work as expected even with kwin < 6.2.

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

Commit messages:
 - 8338751: ConfigureNotify behavior has changed in KWin 6.2

Changes: https://git.openjdk.org/jdk/pull/21449/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21449&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338751
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/21449.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21449/head:pull/21449

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


More information about the client-libs-dev mailing list