summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-14 15:19:04 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-14 15:19:04 +0000
commit5cc666a85322f3461fefa7dc7cabaa4fef135b59 (patch)
tree61625f7156809bc3da9eb9df43e55026a3f6a746
parent08858eaea1898abd1850caa4fe4e1cb692953e73 (diff)
downloadmarex-dev-5cc666a85322f3461fefa7dc7cabaa4fef135b59.tar.gz
marex-dev-5cc666a85322f3461fefa7dc7cabaa4fef135b59.tar.bz2
beryl-plugins: switcher: enabled selection box
git-svn-id: file:///beryl/trunk@4063 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/switcher.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/beryl-plugins/src/switcher.c b/beryl-plugins/src/switcher.c
index 422a861..da08fb7 100644
--- a/beryl-plugins/src/switcher.c
+++ b/beryl-plugins/src/switcher.c
@@ -2296,13 +2296,15 @@ switchPaintWindow(CompWindow * w,
cx = w->attrib.x + (w->width >> 1);
- /*
+
if (ss->switchMode == ApplicationSwitcher)
{
+
+ glPushMatrix();
+ glLoadMatrixf(transform->m);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glEnable(GL_BLEND);
glColor4us(0, 0, 0, w->lastPaint.opacity);
- glPushMatrix();
glTranslatef(cx, y, 0.0f);
glVertexPointer(2, GL_FLOAT, 0, _boxVertices);
glDrawArrays(GL_QUADS, 0, 16);
@@ -2310,7 +2312,7 @@ switchPaintWindow(CompWindow * w,
glColor4usv(defaultColor);
glDisable(GL_BLEND);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
- }*/
+ }
}
else if (w->id == ss->selectedWindow)
{