summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'beryl-plugins/src/switcher.c')
-rw-r--r--beryl-plugins/src/switcher.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beryl-plugins/src/switcher.c b/beryl-plugins/src/switcher.c
index b855986..422a861 100644
--- a/beryl-plugins/src/switcher.c
+++ b/beryl-plugins/src/switcher.c
@@ -1214,6 +1214,8 @@ static void switchInitiate(CompScreen * s, Bool allWindows, SwitcherMode switchM
if (otherScreenGrabExist(s, "scale", "cube", 0))
return;
+ ss->allWindows = allWindows;
+
count = switchCountWindows(s);
if (count < 1)
return;
@@ -1224,7 +1226,6 @@ static void switchInitiate(CompScreen * s, Bool allWindows, SwitcherMode switchM
ss->switchMode = switchMode;
ss->head = head;
- ss->allWindows = allWindows;
if (!ss->showWindowList && ss->popupWindow)
{
@@ -2294,7 +2295,8 @@ switchPaintWindow(CompWindow * w,
s->display->textureFilter = filter;
cx = w->attrib.x + (w->width >> 1);
-/*
+
+ /*
if (ss->switchMode == ApplicationSwitcher)
{
glDisableClientState(GL_TEXTURE_COORD_ARRAY);