summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarex <marex@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-15 13:24:41 +0000
committermarex <marex@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-15 13:24:41 +0000
commit0670dc3db606709080a998dd75c4a8892f1ae6ec (patch)
tree0fb028d2b40b7f9c5aa73b9388d023591743cce9
parent65b0e85420381900c98b6495e993543e4ebfc5b2 (diff)
downloadmarex-dev-0670dc3db606709080a998dd75c4a8892f1ae6ec.tar.gz
marex-dev-0670dc3db606709080a998dd75c4a8892f1ae6ec.tar.bz2
group: Removed unneeded code...
git-svn-id: file:///beryl/trunk@4075 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/group/group.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/beryl-plugins/src/group/group.c b/beryl-plugins/src/group/group.c
index 622f95b..85fe35e 100644
--- a/beryl-plugins/src/group/group.c
+++ b/beryl-plugins/src/group/group.c
@@ -1526,17 +1526,7 @@ Bool groupDamageWindowRect(CompWindow * w, Bool initial, BoxPtr rect)
if (initial) {
GROUP_WINDOW(w);
- Bool tabbed;
- long int id;
-
- /* read window property to see if window was grouped
- before - if it was, regroup */
- if (groupCheckWindowProperty(w, &id, &tabbed)) {
- GroupSelection *group = groupFindGroupByID(w->screen, id);
- groupAddWindowToGroup(w, group, id);
- if (tabbed)
- groupTabGroup(w);
- } else if (gs->opt[GROUP_SCREEN_OPTION_AUTOTAB].value.b && (w->type & gs->wMask)) {
+ if (gs->opt[GROUP_SCREEN_OPTION_AUTOTAB].value.b && (w->type & gs->wMask)) {
if (!gw->group && (gw->windowState == WindowNormal)) {
groupAddWindowToGroup(w, NULL, 0);
groupTabGroup(w);