summaryrefslogtreecommitdiffstats
path: root/kstart/kstart.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 /kstart/kstart.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 'kstart/kstart.cpp')
-rw-r--r--kstart/kstart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstart/kstart.cpp b/kstart/kstart.cpp
index 0fbc44ce2..50efa566c 100644
--- a/kstart/kstart.cpp
+++ b/kstart/kstart.cpp
@@ -181,9 +181,9 @@ static bool wstate_withdrawn( WId winid )
unsigned long length, after;
unsigned char *data;
int r = XGetWindowProperty( tqt_xdisplay(), winid, tqt_wm_state, 0, 2,
- FALSE, AnyPropertyType, &type, &format,
+ false, AnyPropertyType, &type, &format,
&length, &after, &data );
- bool withdrawn = TRUE;
+ bool withdrawn = true;
if ( r == Success && data && format == 32 ) {
TQ_UINT32 *wstate = (TQ_UINT32*)data;
withdrawn = (*wstate == WithdrawnState );