summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-05-24 16:00:47 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-05-24 16:06:18 +0900
commit5573cf414a4e6601025e7e117e54ceeff1d9492f (patch)
tree5c888add236d33a084938e39eefc407352c684f4
parent127c4ac9c25a212337ceb983798f4e138483581e (diff)
downloadefl-5573cf414a4e6601025e7e117e54ceeff1d9492f.tar.gz
evas: Unify device names
Fixes mouse name that was "keyboard". This is an attempt at unifying names under X11, WL and VNC. The default device names now look the same, namely "Keyboard" and "Mouse". The default seat still has different names on WL and X11 ("seat-0" and "default").
-rw-r--r--src/lib/evas/canvas/evas_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 58788566d0..e03af07986 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -1015,12 +1015,12 @@ evas_output_method_set(Evas *eo_e, int render_method)
NULL, NULL, EVAS_DEVICE_CLASS_SEAT,
EVAS_DEVICE_SUBCLASS_NONE);
evas_device_seat_id_set(e->default_seat, 1);
- e->default_mouse = evas_device_add_full(eo_e, "keyboard",
+ e->default_mouse = evas_device_add_full(eo_e, "Mouse",
"The default mouse",
e->default_seat, NULL,
EVAS_DEVICE_CLASS_MOUSE,
EVAS_DEVICE_SUBCLASS_NONE);
- e->default_keyboard = evas_device_add_full(eo_e, "keyboard",
+ e->default_keyboard = evas_device_add_full(eo_e, "Keyboard",
"The default keyboard",
e->default_seat, NULL,
EVAS_DEVICE_CLASS_KEYBOARD,