summaryrefslogtreecommitdiff
path: root/src/modules/tiling
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2012-06-21 08:30:51 +0000
committerBoris Faure <billiob@gmail.com>2012-06-21 08:30:51 +0000
commit1ecdcebfc5cc758e9249c80eff5ac523939e572d (patch)
treed52d7beec1be43b7549a3f40ab15c04bbda2527a /src/modules/tiling
parent5bac59d8e3cd46547f688c7529ada1b839638d16 (diff)
downloadenlightenment-1ecdcebfc5cc758e9249c80eff5ac523939e572d.tar.gz
e: tiling: add to floating list when a window is floating...
SVN revision: 72573
Diffstat (limited to 'src/modules/tiling')
-rw-r--r--src/modules/tiling/e_mod_tiling.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c
index a8eb6c8bca..687e8f30da 100644
--- a/src/modules/tiling/e_mod_tiling.c
+++ b/src/modules/tiling/e_mod_tiling.c
@@ -206,6 +206,8 @@ change_window_border(E_Border *bd,
bd->client.border.changed = true;
bd->changes.border = true;
bd->changed = true;
+
+ DBG("%p -> border %s", bd, bordername);
}
static int
@@ -374,7 +376,10 @@ _restore_border(E_Border *bd)
bd->maximized = extra->orig.maximized;
}
- change_window_border(bd, extra->orig.bordername);
+ DBG("Change window border back to %s for %p",
+ extra->orig.bordername, bd);
+ change_window_border(bd, (extra->orig.bordername)
+ ? extra->orig.bordername : "default");
}
static Border_Extra *
@@ -1649,6 +1654,7 @@ toggle_floating(E_Border *bd)
} else {
_remove_border(bd);
_restore_border(bd);
+ EINA_LIST_APPEND(_G.tinfo->floating_windows, bd);
}
}