diff options
author | Rob McCathie | 2015-08-16 02:12:37 +1000 |
---|---|---|
committer | Rob McCathie | 2015-08-16 02:12:37 +1000 |
commit | 31f54422ae795e27cfbb5f44b1f505807dec7b09 (patch) | |
tree | 1310d3c52ae709b6c037f26336d1e10c5b15bcfc /fix_shadows.patch | |
download | aur-31f54422ae795e27cfbb5f44b1f505807dec7b09.tar.gz |
initial commit
Diffstat (limited to 'fix_shadows.patch')
-rw-r--r-- | fix_shadows.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/fix_shadows.patch b/fix_shadows.patch new file mode 100644 index 000000000000..8d4bf9939be2 --- /dev/null +++ b/fix_shadows.patch @@ -0,0 +1,39 @@ +diff -Naur metacity-2.34.13.orig/src/compositor/compositor-xrender.c metacity-2.34.13/src/compositor/compositor-xrender.c +--- metacity-2.34.13.orig/src/compositor/compositor-xrender.c 2011-11-10 15:14:34.000000000 +0100 ++++ metacity-2.34.13/src/compositor/compositor-xrender.c 2012-11-09 13:51:42.492411570 +0100 +@@ -905,35 +905,6 @@ + } + } + +- /* Never put a shadow around shaped windows */ +- if (cw->shaped) { +- meta_verbose ("Window has no shadow as it is shaped\n"); +- return FALSE; +- } +- +- /* Don't put shadow around DND icon windows */ +- if (cw->type == META_COMP_WINDOW_DND || +- cw->type == META_COMP_WINDOW_DESKTOP) { +- meta_verbose ("Window has no shadow as it is DND or Desktop\n"); +- return FALSE; +- } +- +- if (cw->mode != WINDOW_ARGB) { +- meta_verbose ("Window has shadow as it is not ARGB\n"); +- return TRUE; +- } +- +- if (cw->type == META_COMP_WINDOW_MENU || +- cw->type == META_COMP_WINDOW_DROP_DOWN_MENU) { +- meta_verbose ("Window has shadow as it is a menu\n"); +- return TRUE; +- } +- +- if (cw->type == META_COMP_WINDOW_TOOLTIP) { +- meta_verbose ("Window has shadow as it is a tooltip\n"); +- return TRUE; +- } +- + meta_verbose ("Window has no shadow as it fell through\n"); + return FALSE; + } |