aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-01 15:21:48 -0400
committerGitHub <noreply@github.com>2017-11-01 15:21:48 -0400
commit19f24e5530625f4b7cafb6cbcdbb71fe69c2288c (patch)
treec991862de80f70c4a82f6ad8a6efc5b3429e9d70 /backend/libinput
parentbd85cbd4780da2b840c89c135a3d4569d8a73560 (diff)
parent43cd3c7aea4c8171412a6822bf2c8308ee890b5e (diff)
Merge pull request #378 from martinetd/rootston_close
Rootston: flush close event for xwayland
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c
index 7e4d5700..07c6da13 100644
--- a/backend/libinput/backend.c
+++ b/backend/libinput/backend.c
@@ -101,7 +101,7 @@ static void wlr_libinput_backend_destroy(struct wlr_backend *_backend) {
for (size_t i = 0; i < backend->wlr_device_lists->length; i++) {
struct wl_list *wlr_devices = backend->wlr_device_lists->items[i];
struct wlr_input_device *wlr_dev, *next;
- wl_list_for_each_safe(wlr_dev, next, wlr_devices, link) {
+ wl_list_for_each_safe(wlr_dev, next, wlr_devices, link) {
wl_signal_emit(&backend->backend.events.input_remove, wlr_dev);
wlr_input_device_destroy(wlr_dev);
}