summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/xautolock_diy.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit625904bd3097f9749450428904ca14ff2531824d (patch)
treea45c43d5de71cb720078fa1272a4339815a919be /klaptopdaemon/xautolock_diy.c
parent6335dc55802871b5a43492f217b6edbb420204c4 (diff)
downloadtdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz
tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klaptopdaemon/xautolock_diy.c')
-rw-r--r--klaptopdaemon/xautolock_diy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/klaptopdaemon/xautolock_diy.c b/klaptopdaemon/xautolock_diy.c
index 1aacf5e..c816ae9 100644
--- a/klaptopdaemon/xautolock_diy.c
+++ b/klaptopdaemon/xautolock_diy.c
@@ -95,7 +95,7 @@ static void
selectEvents (Window window, Bool substructureOnly)
{
Window root; /* root window of the window */
- Window tqparent; /* tqparent of the window */
+ Window parent; /* parent of the window */
Window* tqchildren; /* tqchildren of the window */
unsigned nofChildren = 0; /* number of tqchildren */
unsigned i; /* loop counter */
@@ -104,9 +104,9 @@ selectEvents (Window window, Bool substructureOnly)
if( xautolock_ignoreWindow( window ))
return;
/*
- * Start by querying the server about the root and tqparent windows.
+ * Start by querying the server about the root and parent windows.
*/
- if (!XQueryTree (queue.display, window, &root, &tqparent,
+ if (!XQueryTree (queue.display, window, &root, &parent,
&tqchildren, &nofChildren))
{
return;
@@ -132,7 +132,7 @@ selectEvents (Window window, Bool substructureOnly)
}
else
{
- if (tqparent == None) /* the *real* rootwindow */
+ if (parent == None) /* the *real* rootwindow */
{
attribs.all_event_masks =
attribs.do_not_propagate_mask = KeyPressMask;
@@ -178,7 +178,7 @@ selectEvents (Window window, Bool substructureOnly)
* XGrabServer(), but that'd be an impolite thing to do, and since it
* isn't required...
*/
- if (!XQueryTree (queue.display, window, &root, &tqparent,
+ if (!XQueryTree (queue.display, window, &root, &parent,
&tqchildren, &nofChildren))
{
return;