e: react on the good event, and don't ignore it

SVN revision: 70237
This commit is contained in:
Michael BOUCHAUD 2012-04-16 18:27:48 +00:00
parent c30aaf8dde
commit 69624a7f82
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ _e_desklock_cb_window_stack(void *data __UNUSED__,
if (type == ECORE_X_EVENT_WINDOW_STACK)
win = ((Ecore_X_Event_Window_Stack*) event)->event_win;
else if (type == ECORE_X_EVENT_WINDOW_STACK)
else if (type == ECORE_X_EVENT_WINDOW_CONFIGURE)
win = ((Ecore_X_Event_Window_Configure*) event)->event_win;
else if (type == ECORE_X_EVENT_WINDOW_CREATE)
win = ((Ecore_X_Event_Window_Create*) event)->win;