diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 65fafc86459142678b3f616d78bd22da80479134 (patch) | |
tree | 1db17e6c71e675f991672a685186d675a4b87f89 /src/screen.cpp | |
parent | fe9b5d95c9a717fea16685ed7c175e1659d7127c (diff) | |
download | kpowersave-65fafc86459142678b3f616d78bd22da80479134.tar.gz kpowersave-65fafc86459142678b3f616d78bd22da80479134.zip |
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
Diffstat (limited to 'src/screen.cpp')
-rw-r--r-- | src/screen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |