summaryrefslogtreecommitdiff
path: root/plugins
diff options
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp3
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)