Send a pointer leave when triggering a move resize
ClosedPublic

Authored by graesslin on Oct 25 2016, 6:06 AM.

Details

Summary

When triggering a move resize all following pointer events are grabbed
by KWin itself. Thus the correct behavior is to informe the client about
it and send a pointer leave.

This ensures that after the move resize ended the pointer gets a new
enter. By sending anew pointer enter the position gets updated to the
new position which so far did not happen and the client generated events
on the wrong position.

BUG: 371573
FIXED-IN: 5.8.3

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7643.Oct 25 2016, 6:06 AM
graesslin retitled this revision from to Send a pointer leave when triggering a move resize.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptOct 25 2016, 6:06 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
broulik accepted this revision.Oct 30 2016, 10:22 AM
broulik edited edge metadata.
This revision is now accepted and ready to land.Oct 30 2016, 10:22 AM
This revision was automatically updated to reflect the committed changes.