add xkb enable in doctor server 99/258699/2
authordyamy-lee <dyamy.lee@samsung.com>
Mon, 24 May 2021 09:21:32 +0000 (18:21 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 24 May 2021 10:01:28 +0000 (10:01 +0000)
For using input generation with keymap, devicemgr needs predefined
keymap. So enable xkb in devicemgr.

Change-Id: I31f1fe652c94fb88beb47339a001d0fba43e7f1e

src/bin/doctor/doctor.c

index f36d9c1..bcf029e 100644 (file)
@@ -316,6 +316,7 @@ int main(int argc, char *argv[])
        devicemgr = pepper_devicemgr_create(compositor, seat);
        PEPPER_CHECK(devicemgr, goto shutdown_on_failure, "Failed to create devicemgr !\n");
        _pepper_devicemgr_keymap_set(devicemgr, &keymap_list);
+       pepper_devicemgr_xkb_enable(devicemgr);
 
        /* get capabilities for a default pepper input device*/
        if (getenv("WAYLAND_INPUT_KEYBOARD"))