summaryrefslogtreecommitdiffstats
path: root/ksmserver/legacy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver/legacy.cpp')
-rw-r--r--ksmserver/legacy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksmserver/legacy.cpp b/ksmserver/legacy.cpp
index 1fbba6c3b..b0ea31fa8 100644
--- a/ksmserver/legacy.cpp
+++ b/ksmserver/legacy.cpp
@@ -87,7 +87,7 @@ void KSMServer::performLegacySessionSave()
XErrorHandler oldHandler = XSetErrorHandler(winsErrorHandler);
// Compute set of leader windows that need legacy session management
// and determine which style (WM_COMMAND or WM_SAVE_YOURSELF)
- KWinModule module;
+ TWinModule module;
if( wm_save_yourself == (Atom)None ) {
Atom atoms[ 3 ];
const char* const names[]
@@ -289,7 +289,7 @@ static TQCString getQCStringProperty(WId w, Atom prop)
unsigned char *data = 0;
TQCString result = "";
status = XGetWindowProperty( tqt_xdisplay(), w, prop, 0, 10000,
- FALSE, XA_STRING, &type, &format,
+ False, XA_STRING, &type, &format,
&nitems, &extra, &data );
if ( status == Success) {
if( data )
@@ -309,7 +309,7 @@ static TQStringList getQStringListProperty(WId w, Atom prop)
TQStringList result;
status = XGetWindowProperty( tqt_xdisplay(), w, prop, 0, 10000,
- FALSE, XA_STRING, &type, &format,
+ False, XA_STRING, &type, &format,
&nitems, &extra, &data );
if ( status == Success) {
if (!data)
@@ -375,7 +375,7 @@ WId KSMServer::windowWmClientLeader(WId w)
unsigned char *data = 0;
Window result = w;
status = XGetWindowProperty( tqt_xdisplay(), w, wm_client_leader, 0, 10000,
- FALSE, XA_WINDOW, &type, &format,
+ False, XA_WINDOW, &type, &format,
&nitems, &extra, &data );
if (status == Success ) {
if (data && nitems > 0)