graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY Change https://phabricator.kde.org/R108:0bec9ad7337536e319c17c5684d97e1156399fdb introduced a regrssion on Wayland. On Wayland getTimestamp always returns 0, thus the X11 timestamp gets reset again and again. This results in broken interaction for Xwayland windows as the broken unit tests show. This change addresses the regression by ignoring a value of 0. It means the addressed bug is still present on Wayland for X11 windows as the timestamp doesn't get updated properly. This requires further changes. TEST PLAN testShade and testPlasmaWindow succeed again REPOSITORY R108 KWin BRANCH fix-timestamp-regression-5.8 REVISION DETAIL https://phabricator.kde.org/D5726 AFFECTED FILES utils.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, lukas