diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-11-05 19:04:56 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-11-05 19:04:56 +0100 |
| commit | da8230f99b1b674590c41fae25cccc9b74a8716a (patch) | |
| tree | 9b1c935aab29926590be728025a856b0904b3d73 /plugins | |
| parent | a3b8e890116b59756e42fbe2ca34f488b53e8130 (diff) | |
unityshell: fix compilation, use the last mask as default when painting
(bzr r2846.1.37)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 6c04ec50b..e3fe92b9a 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -77,7 +77,6 @@ using namespace launcher; using launcher::AbstractLauncherIcon; using launcher::Launcher; using ui::LayoutWindow; -using ui::LayoutWindow::List; using util::Timer; DECLARE_LOGGER(logger, "unity.shell.compiz"); @@ -3963,7 +3962,7 @@ void UnityWindow::paintThumbnail(nux::Geometry const& geo, float alpha, float sc GLWindowPaintAttrib attrib = gWindow->lastPaintAttrib(); attrib.opacity = (alpha * G_MAXUSHORT); - unsigned mask = 0; + unsigned mask = gWindow->lastMask(); nux::Geometry thumb_geo = geo; if (selected) |
