summaryrefslogtreecommitdiff
path: root/emerald
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-15 05:34:03 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-15 05:34:03 +0000
commit85d61fde304e9e266121013a4859ef642d100aad (patch)
tree8fc1b809558efb086923d5be6a276d8856dc10e8 /emerald
parentb2d450ef45e16caf1127b32eb2af2ea24905b66a (diff)
downloadmarex-dev-85d61fde304e9e266121013a4859ef642d100aad.tar.gz
marex-dev-85d61fde304e9e266121013a4859ef642d100aad.tar.bz2
apply patch, closes #304
git-svn-id: file:///beryl/trunk@1756 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'emerald')
-rw-r--r--emerald/src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/emerald/src/main.c b/emerald/src/main.c
index 26b1d54..6ba4e91 100644
--- a/emerald/src/main.c
+++ b/emerald/src/main.c
@@ -2170,8 +2170,9 @@ draw_switcher_background (decor_t *d)
cairo_set_line_width (cr, 1.0);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
-
- draw_shadow_background (d, cr);
+ if(d->prop_xid || !d->buffer_pixmap){
+ draw_shadow_background (d, cr);
+ }
fill_rounded_rectangle (cr,
x1 + 0.5,