From: cedric Date: Wed, 17 Nov 2010 13:53:04 +0000 (+0000) Subject: * ecore: fix event_window for Ecore_SDL. X-Git-Tag: build/2012-07-04.173327~1490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a159e15d9ed7eb5d21d7a5f21d7456bb52f5a86b;p=profile%2Fivi%2Fecore.git * ecore: fix event_window for Ecore_SDL. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_sdl/ecore_sdl.c b/src/lib/ecore_sdl/ecore_sdl.c index 89984aa..a19db4a 100644 --- a/src/lib/ecore_sdl/ecore_sdl.c +++ b/src/lib/ecore_sdl/ecore_sdl.c @@ -133,6 +133,7 @@ _ecore_sdl_event_key(SDL_Event *event, double time) ev->timestamp = time; ev->window = 0; + ev->event_window = 0; ev->modifiers = _ecore_sdl_event_modifiers(SDL_GetModState()); ev->key = NULL; ev->compose = NULL; @@ -170,6 +171,7 @@ ecore_sdl_feed_events(void) ev->timestamp = time; ev->window = 0; + ev->event_window = 0; ev->modifiers = 0; /* FIXME: keep modifier around. */ ev->x = event.motion.x; ev->y = event.motion.y; @@ -191,6 +193,7 @@ ecore_sdl_feed_events(void) ev->timestamp = time; ev->window = 0; + ev->event_window = 0; ev->modifiers = 0; /* FIXME: keep modifier around. */ ev->direction = 0; ev->z = event.button.button == SDL_BUTTON_WHEELDOWN ? -1 : 1; @@ -206,6 +209,7 @@ ecore_sdl_feed_events(void) ev->timestamp = time; ev->window = 0; + ev->event_window = 0; ev->modifiers = 0; /* FIXME: keep modifier around. */ ev->buttons = event.button.button; ev->double_click = 0; @@ -223,6 +227,7 @@ ecore_sdl_feed_events(void) if (!ev) return ; ev->timestamp = time; ev->window = 0; + ev->event_window = 0; ev->modifiers = 0; /* FIXME: keep modifier around. */ ev->buttons = event.button.button; ev->double_click = 0;