diff options
Diffstat (limited to 'knotes/main.cpp')
-rw-r--r-- | knotes/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knotes/main.cpp b/knotes/main.cpp index bf38e4c71..a14d52acf 100644 --- a/knotes/main.cpp +++ b/knotes/main.cpp @@ -43,11 +43,11 @@ void remove_sm_from_client_leader() Atom atoms[ 2 ]; char *atom_names[ 2 ] = { (char*)"WM_CLIENT_LEADER", (char*)"SM_CLIENT_ID" }; - XInternAtoms( qt_xdisplay(), atom_names, 2, False, atoms ); + XInternAtoms( tqt_xdisplay(), atom_names, 2, False, atoms ); TQWidget w; KXErrorHandler handler; // ignore X errors - status = XGetWindowProperty( qt_xdisplay(), w.winId(), atoms[ 0 ], 0, 10000, + status = XGetWindowProperty( tqt_xdisplay(), w.winId(), atoms[ 0 ], 0, 10000, FALSE, XA_WINDOW, &type, &format, &nitems, &extra, &data ); @@ -56,7 +56,7 @@ void remove_sm_from_client_leader() if (data && nitems > 0) { Window leader = *((Window*) data); - XDeleteProperty( qt_xdisplay(), leader, atoms[ 1 ] ); + XDeleteProperty( tqt_xdisplay(), leader, atoms[ 1 ] ); } XFree(data); } |