e: Move variables to correct scope
authorSebastian Dransfeld <sd@tango.flipp.net>
Wed, 3 Oct 2012 08:03:28 +0000 (08:03 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Wed, 3 Oct 2012 08:03:28 +0000 (08:03 +0000)
SVN revision: 77348

src/bin/e_border.c

index bc5e169..cf5f53e 100644 (file)
@@ -2215,15 +2215,15 @@ e_border_focus_set(E_Border *bd,
 
         if (!bd->focused)
           {
-             Eina_List *l;
-             E_Border *bd2;
-             
              if (focused) bd_unfocus = focused;
              if (focusing == bd) focusing = NULL;
              bd->focused = 1;
              focused = bd;
              if ((!e_config->allow_above_fullscreen) && (!bd_unfocus))
                {
+                  Eina_List *l;
+                  E_Border *bd2;
+             
                   EINA_LIST_FOREACH(e_border_client_list(), l, bd2)
                     {
                        if ((bd2->fullscreen) &&