From 65fafc86459142678b3f616d78bd22da80479134 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/screen.cpp') diff --git a/src/screen.cpp b/src/screen.cpp index 6bc9c0b..877583a 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -150,7 +150,7 @@ static Window find_xscreensaver_window(Display * dpy) { kdDebugFuncIn(trace); Window root = RootWindowOfScreen(DefaultScreenOfDisplay(dpy)); - Window root2, tqparent, *kids; + Window root2, parent, *kids; Window retval = 0; Atom xs_version; unsigned int i; @@ -158,7 +158,7 @@ static Window find_xscreensaver_window(Display * dpy) { xs_version = XInternAtom(dpy, "_SCREENSAVER_VERSION", True); - if (!(xs_version != None && XQueryTree(dpy, root, &root2, &tqparent, &kids, &nkids) + if (!(xs_version != None && XQueryTree(dpy, root, &root2, &parent, &kids, &nkids) && kids && nkids)) { kdDebugFuncOut(trace); return 0; -- cgit v1.2.1