summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2011-06-09 10:23:17 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-03-27 09:31:56 -0400
commitc986d984d14d3ddea631b83f3a67be73adb5b096 (patch)
treed03fbe0161dae94236f034fcd944d8b66874ab8b
parente4b0c11f43e51832108739e95058adf427dc0b98 (diff)
xwayland: comment unused function
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
-rw-r--r--hw/xfree86/xwayland/xwayland-input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/xwayland/xwayland-input.c b/hw/xfree86/xwayland/xwayland-input.c
index b26e08c4d..6f90331b3 100644
--- a/hw/xfree86/xwayland/xwayland-input.c
+++ b/hw/xfree86/xwayland/xwayland-input.c
@@ -320,6 +320,7 @@ unwind:
return NULL;
}
+/* Use that code if the compositor want to delete an input device
static void
device_removed(DeviceIntPtr dev)
{
@@ -330,6 +331,7 @@ device_removed(DeviceIntPtr dev)
DeleteInputDeviceRequest(dev);
OsReleaseSignals();
}
+*/
static void
add_input_device(struct xwl_input_device *xwl_input_device)