windowsremoteinput: add missing isSingleRelease to condition

This commit is contained in:
Piyush Aggarwal 2021-06-29 07:02:33 +05:30
parent 30d895d868
commit 2c0c822600

View file

@ -75,7 +75,7 @@ bool WindowsRemoteInput::handlePacket(const NetworkPacket& np)
QString key = np.get<QString>(QStringLiteral("key"), QLatin1String("")); QString key = np.get<QString>(QStringLiteral("key"), QLatin1String(""));
int specialKey = np.get<int>(QStringLiteral("specialKey"), 0); int specialKey = np.get<int>(QStringLiteral("specialKey"), 0);
if (isSingleClick || isDoubleClick || isMiddleClick || isRightClick || isSingleHold || isScroll || !key.isEmpty() || specialKey) { if (isSingleClick || isDoubleClick || isMiddleClick || isRightClick || isSingleHold || isScroll || isSingleRelease || !key.isEmpty() || specialKey) {
INPUT input={0}; INPUT input={0};
input.type = INPUT_MOUSE; input.type = INPUT_MOUSE;