summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorEleni Maria Stea <elenimaria.stea@canonical.com>2016-07-27 10:24:25 +0000
committerBileto Bot <ci-train-bot@canonical.com>2016-07-27 10:24:25 +0000
commit3efb1cdc5be7c61cbd53a478db3c0aa471c6558c (patch)
treede72b340ae7cb6f7067aad2182656bf6cebd129c /plugins/unityshell
parent4fd4d92a761c6e82ce8757a68b1baae03fe30755 (diff)
parentaa7839f9905353fbec2d4573cc9bc47468cf284d (diff)
DecoratedWindow: Added shadows for shaped windows
Approved by: Marco Trevisan (TreviƱo), PS Jenkins bot (bzr r4161)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/unityshell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 9f0a57ef7..7a18dc471 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3013,9 +3013,9 @@ bool UnityWindow::glPaint(const GLWindowPaintAttrib& attrib,
wAttrib.opacity = 0.0;
int old_index = gWindow->glPaintGetCurrentIndex();
gWindow->glPaintSetCurrentIndex(MAXSHORT);
+ deco_win_->Paint(matrix, wAttrib, region, mask);
bool ret = gWindow->glPaint(wAttrib, matrix, region, mask);
gWindow->glPaintSetCurrentIndex(old_index);
- deco_win_->Paint(matrix, wAttrib, region, mask);
return ret;
}
}