From 0a439ac80bdf6ffb9cac104ad3098a321ee0403c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2025 18:08:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- kstart/kstart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kstart/kstart.cpp') 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 ); -- cgit v1.2.3