diff options
| author | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2016-07-27 10:24:25 +0000 |
|---|---|---|
| committer | Bileto Bot <ci-train-bot@canonical.com> | 2016-07-27 10:24:25 +0000 |
| commit | 3efb1cdc5be7c61cbd53a478db3c0aa471c6558c (patch) | |
| tree | de72b340ae7cb6f7067aad2182656bf6cebd129c /plugins/unityshell/src | |
| parent | 4fd4d92a761c6e82ce8757a68b1baae03fe30755 (diff) | |
| parent | aa7839f9905353fbec2d4573cc9bc47468cf284d (diff) | |
DecoratedWindow: Added shadows for shaped windows
Approved by: Marco Trevisan (TreviƱo), PS Jenkins bot (bzr r4161)
Diffstat (limited to 'plugins/unityshell/src')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 2 |
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; } } |
