summaryrefslogtreecommitdiffstats
path: root/twin/manage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/manage.cpp')
-rw-r--r--twin/manage.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/twin/manage.cpp b/twin/manage.cpp
index ec6a5d675..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 )
@@ -520,9 +520,9 @@ bool Client::manage( Window w, bool isMapped )
if( user_time == CurrentTime || user_time == -1U ) // no known user time, set something old
{
- user_time = GET_QT_X_TIME() - 1000000;
+ user_time = get_tqt_x_time() - 1000000;
if( user_time == CurrentTime || user_time == -1U ) // let's be paranoid
- user_time = GET_QT_X_TIME() - 1000000 + 10;
+ user_time = get_tqt_x_time() - 1000000 + 10;
}
updateWorkareaDiffs();
@@ -577,9 +577,9 @@ void Client::embedClient( Window w, const XWindowAttributes &attr )
attr.depth, InputOutput, attr.visual,
CWColormap | CWBackPixmap | CWBorderPixel, &swa );
- XDefineCursor( tqt_xdisplay(), frame, tqarrowCursor.handle());
+ XDefineCursor( tqt_xdisplay(), frame, TQt::arrowCursor.handle());
// some apps are stupid and don't define their own cursor - set the arrow one for them
- XDefineCursor( tqt_xdisplay(), wrapper, tqarrowCursor.handle());
+ XDefineCursor( tqt_xdisplay(), wrapper, TQt::arrowCursor.handle());
XReparentWindow( tqt_xdisplay(), client, wrapper, 0, 0 );
XSelectInput( tqt_xdisplay(), frame,
KeyPressMask | KeyReleaseMask |