aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-03 16:46:59 +0100
committeremersion <contact@emersion.fr>2018-01-03 16:46:59 +0100
commitc599d8024c5788aa4e15a026c46577723c8bb531 (patch)
treea2376ed5c32d0be5c77758792ad56e610a61641e
parent38ed3b42451e350a97f6686324ca2beb10c1dbb3 (diff)
Remove serial validation TODOs
-rw-r--r--types/wlr_data_device.c1
-rw-r--r--types/wlr_primary_selection.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/types/wlr_data_device.c b/types/wlr_data_device.c
index ff209d9f..a4eb233b 100644
--- a/types/wlr_data_device.c
+++ b/types/wlr_data_device.c
@@ -339,7 +339,6 @@ static void data_device_set_selection(struct wl_client *client,
struct wlr_seat_client *seat_client =
wl_resource_get_user_data(dd_resource);
- // TODO: store serial and check against incoming serial here
struct wlr_data_source *wlr_source = (struct wlr_data_source *)source;
wlr_seat_set_selection(seat_client->seat, wlr_source, serial);
}
diff --git a/types/wlr_primary_selection.c b/types/wlr_primary_selection.c
index 491145f4..fafde669 100644
--- a/types/wlr_primary_selection.c
+++ b/types/wlr_primary_selection.c
@@ -246,7 +246,6 @@ static void device_handle_set_selection(struct wl_client *client,
struct wlr_seat_client *seat_client =
wl_resource_get_user_data(resource);
- // TODO: store serial and check against incoming serial here
struct wlr_primary_selection_source *wlr_source =
(struct wlr_primary_selection_source *)source;
wlr_seat_set_primary_selection(seat_client->seat, wlr_source, serial);