e: react on the good event, and don't ignore it
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>
Mon, 16 Apr 2012 18:27:48 +0000 (18:27 +0000)
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>
Mon, 16 Apr 2012 18:27:48 +0000 (18:27 +0000)
SVN revision: 70237

src/bin/e_desklock.c

index 747632f7690c09f12e38c0c06f0543bf96889e7b..882863b05b0767059f149cc01cc1fa5f786243e0 100644 (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;