Only commit XdgOutput::done if changed

Authored by davidedmundson on Feb 25 2019, 2:12 PM.

Description

Only commit XdgOutput::done if changed

Summary:
XdgOutput no-ops if one calls setLogicalSize(someSize) and someSize
matches the last sent size

However, as we have an explicit done signal, we currently end up sending
this regardless.

This patches tracks if we've made any changes to commit in the done
event.

CCBUG: 400987

Reviewers: KWin, romangg

Reviewed By: KWin, romangg

Subscribers: romangg, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D19255

Details

Committed
davidedmundsonFeb 25 2019, 2:13 PM
Reviewer
KWin
Differential Revision
D19255: Only commit XdgOutput::done if changed
Parents
R127:12b58edd254a: FakeInput: add support for pointer move with absolute coordinates
Branches
Unknown
Tags
Unknown