[wayland] Get rid of some duplicated code
ClosedPublic

Authored by zzag on Tue, Jan 28, 10:06 PM.

Details

Summary

We duplicate ping code in a few places. This change introduces a dedicated
method for sending ping events to an xdg-toplevel. In long term, it can be
used for sending "test" ping messages at random interval.

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.
zzag created this revision.Tue, Jan 28, 10:06 PM
Restricted Application added a project: KWin. · View Herald TranscriptTue, Jan 28, 10:06 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Tue, Jan 28, 10:06 PM
This revision was not accepted when it landed; it landed in state Needs Review.Wed, Jan 29, 11:18 AM
This revision was automatically updated to reflect the committed changes.