summaryrefslogtreecommitdiffstats
path: root/twin/main.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/main.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/main.cpp')
-rw-r--r--twin/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/main.cpp b/twin/main.cpp
index 540595a1b..c988b53f2 100644
--- a/twin/main.cpp
+++ b/twin/main.cpp
@@ -45,13 +45,13 @@ Atoms* atoms;
int screen_number = -1;
bool disable_twin_composition_manager = false;
-static bool initting = FALSE;
+static bool initting = false;
static
int x11ErrorHandler(Display *d, XErrorEvent *e)
{
char msg[80], req[80], number[80];
- bool ignore_badwindow = TRUE; //maybe temporary
+ bool ignore_badwindow = true; //maybe temporary
if (initting &&
(
@@ -151,7 +151,7 @@ Application::Application( )
// if there was already twin running, it saved its configuration after loosing the selection -> reread
config()->reparseConfiguration();
- initting = TRUE; // startup....
+ initting = true; // startup....
// install X11 error handler
XSetErrorHandler( x11ErrorHandler );
@@ -176,7 +176,7 @@ Application::Application( )
DCOPRef ref( "kded", "kded" );
ref.send( "unloadModule", TQCString( "kdetrayproxy" ));
- initting = FALSE; // startup done, we are up and running now.
+ initting = false; // startup done, we are up and running now.
dcopClient()->send( "ksplash", "", "upAndRunning(TQString)", TQString("wm started"));
XEvent e;
@@ -216,7 +216,7 @@ void Application::lostSelection()
bool Application::x11EventFilter( XEvent *e )
{
if ( Workspace::self()->workspaceEvent( e ) )
- return TRUE;
+ return true;
return TDEApplication::x11EventFilter( e );
}