correctly fix check for x11 compositor in e_xkb
authorChris Michael <cp.michael@samsung.com>
Wed, 1 Jul 2015 16:23:40 +0000 (12:23 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 1 Jul 2015 16:23:40 +0000 (12:23 -0400)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_xkb.c

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