summaryrefslogtreecommitdiffstats
path: root/twin/manage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 18:08:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-27 10:24:24 +0900
commit0a439ac80bdf6ffb9cac104ad3098a321ee0403c (patch)
tree737edb6e89138f645d20bab7378e1ba90df09863 /twin/manage.cpp
parent0ba4723b7fad260e7bfe1848d0d16329779b090f (diff)
downloadtdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.tar.gz
tdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin/manage.cpp')
-rw-r--r--twin/manage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/manage.cpp b/twin/manage.cpp
index 8b96c070e..394d7fc20 100644
--- a/twin/manage.cpp
+++ b/twin/manage.cpp
@@ -190,7 +190,7 @@ bool Client::manage( Window w, bool isMapped )
// onAllDesktopsChange(); decoration doesn't exist here yet
TQRect geom( attr.x, attr.y, attr.width, attr.height );
- bool placementDone = FALSE;
+ bool placementDone = false;
if ( session )
geom = session->geometry;
@@ -269,7 +269,7 @@ bool Client::manage( Window w, bool isMapped )
if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
(xSizeHint.flags & USPosition) )
{
- placementDone = TRUE;
+ placementDone = true;
// disobey xinerama placement option for now (#70943)
area = workspace()->clientArea( PlacementArea, geom.center(), desktop());
}
@@ -290,7 +290,7 @@ bool Client::manage( Window w, bool isMapped )
if( isMovable())
{
if( geom.x() > area.right() || geom.y() > area.bottom())
- placementDone = FALSE; // weird, do not trust.
+ placementDone = false; // weird, do not trust.
}
if ( placementDone )
@@ -312,7 +312,7 @@ bool Client::manage( Window w, bool isMapped )
if( !placementDone )
{ // placement needs to be after setting size
workspace()->place( this, area );
- placementDone = TRUE;
+ placementDone = true;
}
if(( !isSpecialWindow() || isToolbar()) && isMovable())
@@ -358,7 +358,7 @@ bool Client::manage( Window w, bool isMapped )
// probably should be replaced by something better
bool doNotShow = false;
if ( workspace()->isNotManaged( caption() ) )
- doNotShow = TRUE;
+ doNotShow = true;
// other settings from the previous session
if ( session )