INF("key pressed");
- e = (Ecore_Event_Key *)malloc(sizeof(Ecore_Event_Key));
+ e = (Ecore_Event_Key *)calloc(1, sizeof(Ecore_Event_Key));
if (!e) return;
if (is_keystroke)
free(e);
return;
}
+ e->event_window = e->window;
e->timestamp = msg->time;
_ecore_win32_event_last_time = e->timestamp;
free(e);
return;
}
+ e->event_window = e->window;
e->timestamp = msg->time;
_ecore_win32_event_last_time = e->timestamp;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->direction = 0;
/* wheel delta is positive or negative, never 0 */
e->z = GET_WHEEL_DELTA_WPARAM(msg->window_param) > 0 ? -1 : 1;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = GET_X_LPARAM(msg->data_param);
e->y = GET_Y_LPARAM(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->buttons = button;
e->x = GET_X_LPARAM(msg->data_param);
e->y = GET_Y_LPARAM(msg->data_param);
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = GET_X_LPARAM(msg->data_param);
e->y = GET_Y_LPARAM(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->buttons = button;
e->x = GET_X_LPARAM(msg->data_param);
e->y = GET_Y_LPARAM(msg->data_param);
if (!e) return;
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
e->x = GET_X_LPARAM(msg->data_param);
e->y = GET_Y_LPARAM(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
e->x = msg->x;
e->y = msg->y;
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
e->x = msg->x;
e->y = msg->y;
e->timestamp = msg->time;
}
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
if (!e->window)
{
free(e);
}
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
if (!e->window)
{
free(e);
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = LOWORD(msg->data_param);
e->y = HIWORD(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->buttons = button;
e->x = LOWORD(msg->data_param);
e->y = HIWORD(msg->data_param);
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = LOWORD(msg->data_param);
e->y = HIWORD(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->buttons = button;
e->x = LOWORD(msg->data_param);
e->y = HIWORD(msg->data_param);
if (!e) return;
e->window = (Ecore_Window)GetWindowLong(msg->window, GWL_USERDATA);
+ e->event_window = e->window;
e->x = LOWORD(msg->data_param);
e->y = HIWORD(msg->data_param);
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = msg->x;
e->y = msg->y;
e->timestamp = msg->time;
if (!e) return;
e->window = (Ecore_Window)window;
+ e->event_window = e->window;
e->x = msg->x;
e->y = msg->y;
e->timestamp = msg->time;