summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/xautolock_engine.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_engine.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_engine.c')
-rw-r--r--klaptopdaemon/xautolock_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/xautolock_engine.c b/klaptopdaemon/xautolock_engine.c
index c293d9e..bbce54e 100644
--- a/klaptopdaemon/xautolock_engine.c
+++ b/klaptopdaemon/xautolock_engine.c
@@ -74,7 +74,7 @@ xautolock_queryPointer (Display* d)
{
Window dummyWin; /* as it says */
int dummyInt; /* as it says */
- unsigned tqmask; /* modifier tqmask */
+ unsigned mask; /* modifier mask */
int rootX; /* as it says */
int rootY; /* as it says */
int corner; /* corner index */
@@ -104,7 +104,7 @@ xautolock_queryPointer (Display* d)
* of pointer events.
*/
if (!XQueryPointer (d, root, &root, &dummyWin, &rootX, &rootY,
- &dummyInt, &dummyInt, &tqmask))
+ &dummyInt, &dummyInt, &mask))
{
/*
* Pointer has moved to another screen, so let's find out which one.
@@ -121,7 +121,7 @@ xautolock_queryPointer (Display* d)
if ( rootX == prevRootX
&& rootY == prevRootY
- && tqmask == prevMask)
+ && mask == prevMask)
{
xautolock_corner_t* corners = xautolock_corners;
/*
@@ -186,7 +186,7 @@ xautolock_queryPointer (Display* d)
#endif
prevRootX = rootX;
prevRootY = rootY;
- prevMask = tqmask;
+ prevMask = mask;
xautolock_resetTriggers ();
}