summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetrics <metrics>2006-11-03 06:11:56 +0000
committermetrics <metrics@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-11-03 06:11:56 +0000
commitc7c69b4bd3415f6d86ba929c07976a09bbc5500f (patch)
tree70dee2722881c1bf90ddaf0b0b7de6cc5640744d
parentb98ab9d76bd0f37676e3952ee02b56ca0c93956e (diff)
downloadenlightenment-c7c69b4bd3415f6d86ba929c07976a09bbc5500f.tar.gz
--BUG: xdaliclock now gets shaped borders if no user defined border is
set. SVN revision: 26916
-rw-r--r--TODO2
-rw-r--r--src/bin/e_border.c10
2 files changed, 9 insertions, 3 deletions
diff --git a/TODO b/TODO
index 84d4a2dc14..507bded22b 100644
--- a/TODO
+++ b/TODO
@@ -8,8 +8,6 @@ Some of the things (in very short form) that need to be done to E17...
BUGS / FIXES
-------------------------------------------------------------------------------
-* BUG: xdaliclock -transparent doesnt use shaped border (not handling shape
- change later)
]]]
[[[
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 64cb4daa52..381b6524e1 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -5209,6 +5209,8 @@ _e_border_eval(E_Border *bd)
if (bd->client.shaped)
{
bd->client.shaped = 0;
+ if (!bd->bordername)
+ bd->client.border.changed = 1;
}
}
else
@@ -5216,12 +5218,18 @@ _e_border_eval(E_Border *bd)
if (!bd->client.shaped)
{
bd->client.shaped = 1;
+ if (!bd->bordername)
+ bd->client.border.changed = 1;
}
}
free(rects);
}
else
- bd->client.shaped = 0;
+ {
+ bd->client.shaped = 0;
+ if (!bd->bordername)
+ bd->client.border.changed = 1;
+ }
bd->need_shape_merge = 1;
}
if (bd->client.mwm.fetch.hints)