From f172ffd129ad8a847d7abffb31682dd1c108d6f8 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Wed, 24 May 2023 16:57:33 +0200 Subject: [PATCH] Added TODO --- .../kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java | 1 + .../kde/kdeconnect/Plugins/PresenterPlugin/PresenterPlugin.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java index 08619ebc..8dc04651 100644 --- a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java @@ -93,6 +93,7 @@ public class MousePadPlugin extends Plugin { if (np == null) { np = new NetworkPacket(PACKET_TYPE_MOUSEPAD_REQUEST); } else { + // TODO: In my tests we never get here. Decide if it's worth keeping the logic to replace unsent packets. dx += np.getInt("dx"); dy += np.getInt("dx"); } diff --git a/src/org/kde/kdeconnect/Plugins/PresenterPlugin/PresenterPlugin.java b/src/org/kde/kdeconnect/Plugins/PresenterPlugin/PresenterPlugin.java index 5e30afa5..888450e7 100644 --- a/src/org/kde/kdeconnect/Plugins/PresenterPlugin/PresenterPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/PresenterPlugin/PresenterPlugin.java @@ -113,6 +113,7 @@ public class PresenterPlugin extends Plugin { if (np == null) { np = new NetworkPacket(PACKET_TYPE_PRESENTER); } else { + // TODO: In my tests we never get here. Decide if it's worth keeping the logic to replace unsent packets. xDelta += np.getInt("dx"); yDelta += np.getInt("dy"); }