summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elput')
-rw-r--r--src/lib/elput/elput_input.c6
-rw-r--r--src/lib/elput/elput_logind.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index d50b023b8a..8a15694b16 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -137,18 +137,12 @@ _device_add(Elput_Manager *em, struct libinput_device *dev)
137static void 137static void
138_device_remove(Elput_Manager *em EINA_UNUSED, struct libinput_device *device) 138_device_remove(Elput_Manager *em EINA_UNUSED, struct libinput_device *device)
139{ 139{
140 /* Elput_Seat *eseat; */
141 Elput_Device *edev; 140 Elput_Device *edev;
142 141
143 edev = libinput_device_get_user_data(device); 142 edev = libinput_device_get_user_data(device);
144 if (!edev) return; 143 if (!edev) return;
145 144
146 /* eseat = _udev_seat_get(em, device); */
147 /* if (eseat) */
148 /* eseat->devices = eina_list_remove(eseat->devices, edev); */
149
150 _device_event_send(edev, ELPUT_DEVICE_REMOVED); 145 _device_event_send(edev, ELPUT_DEVICE_REMOVED);
151 /* _evdev_device_destroy(edev); */
152} 146}
153 147
154static int 148static int
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index aedcd790d8..123861a5ff 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -140,8 +140,6 @@ _cb_property_changed(void *data, Eldbus_Proxy *proxy EINA_UNUSED, void *event)
140 em = data; 140 em = data;
141 ev = event; 141 ev = event;
142 142
143 DBG("DBus Property Changed: %s", ev->name);
144
145 if (!strcmp(ev->name, "Active")) 143 if (!strcmp(ev->name, "Active"))
146 { 144 {
147 eina_value_get(ev->value, &active); 145 eina_value_get(ev->value, &active);