focus stack broken in focus new window and click to focus. fix.
authorCarsten Haitzler <raster@rasterman.com>
Sun, 18 May 2008 14:17:39 +0000 (14:17 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sun, 18 May 2008 14:17:39 +0000 (14:17 +0000)
SVN revision: 34596

src/bin/e_border.c

index f239bbe..5817137 100644 (file)
@@ -1425,14 +1425,17 @@ e_border_focus_set(E_Border *bd, int focus, int set)
      {
        if ((bd->visible) && (bd->changes.visible))
          {
+            e_border_focus_latest_set(bd);
             bd->want_focus = 1;
             bd->changed = 1;
             return;
          }
-       if (bd->visible)
+//     if (bd->visible)
          {
             if (focus_track_frozen == 0)
-              e_border_focus_latest_set(bd);
+              {
+                 e_border_focus_latest_set(bd);
+              }
          }
 //     printf("EMIT 0x%x activeve\n", bd->client.win);
        edje_object_signal_emit(bd->bg_object, "e,state,focused", "e");