Don't call ecore_x_xkb_select_group if the compositor is not X11
authorChris Michael <cp.michael@samsung.com>
Wed, 1 Jul 2015 13:16:18 +0000 (09:16 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 1 Jul 2015 13:16:18 +0000 (09:16 -0400)
This fixes T2533 where the startup wizard would crash when run under
DRM due to the change in build options (xwayland support).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_xkb.c

index e306ee1..c258bc7 100644 (file)
@@ -65,7 +65,8 @@ e_xkb_update(int cur_group)
      {
         _e_xkb_cur_group = cur_group;
 #ifndef HAVE_WAYLAND_ONLY
-        ecore_x_xkb_select_group(cur_group);
+        if (e_comp->comp_type == E_PIXMAP_TYPE_X)
+          ecore_x_xkb_select_group(cur_group);
 #endif
         e_deskenv_xmodmap_run();
         _e_xkb_update_event(cur_group);