summaryrefslogtreecommitdiff
path: root/plugins/switcher/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/switcher/src')
-rw-r--r--plugins/switcher/src/switcher.cpp8
-rw-r--r--plugins/switcher/src/switcher.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/switcher/src/switcher.cpp b/plugins/switcher/src/switcher.cpp
index 57c1f1f..bf55433 100644
--- a/plugins/switcher/src/switcher.cpp
+++ b/plugins/switcher/src/switcher.cpp
@@ -130,6 +130,12 @@ SwitchScreen::shouldShowIcon ()
return optionGetIcon ();
}
+bool
+SwitchScreen::showIconOnly ()
+{
+ return optionGetIconOnly ();
+}
+
void
SwitchScreen::getMinimizedAndMatch (bool &minimizedOption,
CompMatch *&matchOption)
@@ -740,7 +746,7 @@ SwitchScreen::glPaintOutput (const GLScreenPaintAttrib &sAttrib,
screen->unhookWindow (zoomed);
screen->insertWindow (zoomed,
- screen->windows ().back ()->id ());
+ screen->clientList ().back ()->id ());
}
}
else
diff --git a/plugins/switcher/src/switcher.h b/plugins/switcher/src/switcher.h
index c0bc93c..11d8dd9 100644
--- a/plugins/switcher/src/switcher.h
+++ b/plugins/switcher/src/switcher.h
@@ -63,6 +63,7 @@ class SwitchScreen :
void updateWindowList (int count);
void createWindowList (int count);
bool shouldShowIcon ();
+ bool showIconOnly ();
void getMinimizedAndMatch (bool &minimizedOption,
CompMatch *&match);
void switchToWindow (bool toNext);