devicemgr: use seat_destroy listener in seat_handle_destoy() func. 28/278228/1
authorduna.oh <duna.oh@samsung.com>
Wed, 29 Jun 2022 01:46:54 +0000 (10:46 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:59:03 +0000 (14:59 +0900)
Change-Id: If5556f8ec94836470981691efa5d9d40742f23fa

src/input-devicemgr/input-devicemgr.c

index c825b4c..91b7d57 100644 (file)
@@ -296,7 +296,7 @@ seat_handle_destroy(struct wl_listener *listener, void *data)
 {
     struct ds_tizen_input_devicemgr *tz_devicemgr;
 
-    tz_devicemgr = wl_container_of(listener, tz_devicemgr, backend_destroy);
+    tz_devicemgr = wl_container_of(listener, tz_devicemgr, seat_destroy);
 
     wl_list_remove(&tz_devicemgr->seat_destroy.link);
     wl_list_init(&tz_devicemgr->seat_destroy.link);