Revert "ecore-input: add keysym to Ecore_Event_Key struct"
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 29 Jun 2015 17:11:47 +0000 (13:11 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 29 Jun 2015 17:18:01 +0000 (13:18 -0400)
This reverts commit c3f3c4eba80f0a7f388de608f2b1566213e73603.

this was audited and found to be impractical due to portability concerns

src/lib/ecore_drm/ecore_drm_evdev.c
src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_wayland/ecore_wl_input.c
src/lib/ecore_x/xcb/ecore_xcb_events.c
src/lib/ecore_x/xlib/ecore_x_events.c

index ec50509..e40ad40 100644 (file)
@@ -361,7 +361,6 @@ _device_handle_key(struct libinput_device *device, struct libinput_event_keyboar
    e->timestamp = timestamp;
    e->same_screen = 1;
    e->keycode = code;
-   e->keysym = sym;
 
    _device_modifiers_update(edev);
 
index 1a72e98..a1fc93c 100644 (file)
@@ -154,7 +154,6 @@ extern "C" {
         unsigned int     keycode; /**< Key scan code numeric value @since 1.10 */
 
         void            *data; /**< User data associated with an Ecore_Event_Key @since 1.10 */
-        unsigned int     keysym; /**< Encoding of keyboard symbold @since 1.15 */
      };
 
    /**
index 58d1030..7813a15 100644 (file)
@@ -827,7 +827,6 @@ _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UN
    e->timestamp = timestamp;
    e->modifiers = input->modifiers;
    e->keycode = code;
-   e->keysym = sym;
 
    if (state)
      ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);
index fdd17da..0b71451 100644 (file)
@@ -2422,7 +2422,6 @@ _ecore_xcb_event_key_press(xcb_generic_event_t *event)
         e->same_screen = xevent->same_screen;
         e->root_window = xevent->root;
         e->keycode = keycode;
-        e->keysym = sym;
 
         DBG("Sending Key Down Event: %s", e->keyname);
         ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);
index 0a02b3e..ced9657 100644 (file)
@@ -393,7 +393,6 @@ _ecore_key_press(int event,
    e->same_screen = xevent->same_screen;
    e->root_window = xevent->root;
    e->keycode = xevent->keycode;
-   e->keysym = sym;
 
    ecore_event_add(event, e, NULL, NULL);