summaryrefslogtreecommitdiff
path: root/plugins/blur/src/blur.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-17 17:20:23 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-17 17:20:23 -0500
commit1539fce79cc73bb31732cd3f2ad02be0d7b52821 (patch)
tree32805fcac0de3cf1b21e946b8b903578bf0c7ead /plugins/blur/src/blur.cpp
parent7fff3541afc6595dd7f64ef7abeb587c254b4b41 (diff)
downloadzcomp-1539fce79cc73bb31732cd3f2ad02be0d7b52821.tar.gz
zcomp-1539fce79cc73bb31732cd3f2ad02be0d7b52821.tar.bz2
Convert Bool -> bool, TRUE -> true, FALSE -> false.
Diffstat (limited to 'plugins/blur/src/blur.cpp')
-rw-r--r--plugins/blur/src/blur.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/blur/src/blur.cpp b/plugins/blur/src/blur.cpp
index 8689ee1..a150acb 100644
--- a/plugins/blur/src/blur.cpp
+++ b/plugins/blur/src/blur.cpp
@@ -304,7 +304,7 @@ BlurWindow::update (int state)
std::vector<BlurBox> boxes;
result = XGetWindowProperty (screen->dpy (), window->id (),
- bScreen->blurAtom[state], 0L, 8192L, FALSE,
+ bScreen->blurAtom[state], 0L, 8192L, false,
XA_INTEGER, &actual, &format,
&n, &left, &propData);
@@ -1108,7 +1108,7 @@ BlurScreen::fboUpdate (BoxPtr pBox,
int nBox)
{
int i, y, iTC = 0;
- Bool wasCulled = glIsEnabled (GL_CULL_FACE);
+ bool wasCulled = glIsEnabled (GL_CULL_FACE);
if (GL::maxTextureUnits && optionGetIndependentTex ())
iTC = MIN ((GL::maxTextureUnits - 1) / 2, numTexop);
@@ -1482,7 +1482,7 @@ BlurWindow::updateDstTexture (const GLMatrix &transform,
textures = 2;
}
- bScreen->fboStatus = FALSE;
+ bScreen->fboStatus = false;
for (i = 0; i < textures; i++)
{
@@ -1590,7 +1590,7 @@ BlurWindow::glDraw (const GLMatrix &transform,
if (state[BLUR_STATE_DECOR].threshold || clientThreshold)
{
- bool clipped = FALSE;
+ bool clipped = false;
CompRect box (0, 0, 0, 0);
CompRegion reg;
@@ -2111,8 +2111,8 @@ blurPulse (CompAction *action,
BLUR_SCREEN (screen);
BLUR_WINDOW (w);
- bw->pulse = TRUE;
- bs->moreBlur = TRUE;
+ bw->pulse = true;
+ bs->moreBlur = true;
bw->cWindow->addDamage ();
}