summaryrefslogtreecommitdiff
path: root/src/staticswitcher.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-12-16 06:20:24 -0600
committerErkin Bahceci <erkinbah@gmail.com>2009-12-16 06:20:24 -0600
commitd0d166a5bc5df6daa3c1bd6e32584bb53a8b8386 (patch)
treea6bbd48c413a8d098eb46d3d34db555bd6a55531 /src/staticswitcher.cpp
parent4b9a182b3b8830c69b7c693f0fccf172e6aca358 (diff)
downloadstaticswitcher-d0d166a5bc5df6daa3c1bd6e32584bb53a8b8386.tar.gz
staticswitcher-d0d166a5bc5df6daa3c1bd6e32584bb53a8b8386.tar.bz2
Remove unnecessary check.
Diffstat (limited to 'src/staticswitcher.cpp')
-rw-r--r--src/staticswitcher.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/staticswitcher.cpp b/src/staticswitcher.cpp
index a09ed2c..12714cc 100644
--- a/src/staticswitcher.cpp
+++ b/src/staticswitcher.cpp
@@ -864,10 +864,7 @@ StaticSwitchScreen::glPaintOutput (const GLScreenPaintAttrib &sAttrib,
{
CompWindow *w;
- if (zoomed)
- w = zoomed;
- else
- w = selectedWindow;
+ w = selectedWindow;
if (w)
{