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 | 49f9b290287ed4df63901c5912ddbb3c1ae5d515 (patch) | |
tree | 0a20bf2186d58b5edef3a3a7da518ea3c8244246 /amor/amor.cpp | |
parent | 1d14c95a7737078a695e99442628f450354c00ff (diff) | |
download | tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.tar.gz tdetoys-49f9b290287ed4df63901c5912ddbb3c1ae5d515.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amor/amor.cpp')
-rw-r--r-- | amor/amor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/amor/amor.cpp b/amor/amor.cpp index fafee0c..2efb896 100644 --- a/amor/amor.cpp +++ b/amor/amor.cpp @@ -562,14 +562,14 @@ void Amor::restack() #endif Window sibling = mTargetWin; - Window dw, tqparent = None, *wins; + Window dw, parent = None, *wins; do { unsigned int nwins = 0; - // We must use the target window's tqparent as our sibling. - // Is there a faster way to get tqparent window than XQueryTree? - if (XQueryTree(qt_xdisplay(), sibling, &dw, &tqparent, &wins, &nwins)) + // We must use the target window's parent as our sibling. + // Is there a faster way to get parent window than XQueryTree? + if (XQueryTree(qt_xdisplay(), sibling, &dw, &parent, &wins, &nwins)) { if (nwins) { @@ -577,9 +577,9 @@ void Amor::restack() } } - if (tqparent != None && tqparent != dw ) - sibling = tqparent; - } while ( tqparent != None && tqparent != dw ); + if (parent != None && parent != dw ) + sibling = parent; + } while ( parent != None && parent != dw ); // Set animation's stacking order to be above the window manager's // decoration of target window. |