summaryrefslogtreecommitdiff
path: root/put.c
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-02-11 09:41:26 +0100
committerDanny Baumann <dannybaumann@web.de>2008-02-11 09:41:26 +0100
commita365ad564f941502fe5a79ae6b98ceae9c2cfe18 (patch)
tree89bc77f25f8a8b6ba4f9c8cc190bf3624f23d528 /put.c
parent7c64e13291bb04a589f2eccb9d525abf6f709802 (diff)
downloadput-a365ad564f941502fe5a79ae6b98ceae9c2cfe18.tar.gz
put-a365ad564f941502fe5a79ae6b98ceae9c2cfe18.tar.bz2
Rename exact to absolute.
Diffstat (limited to 'put.c')
-rw-r--r--put.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/put.c b/put.c
index 979880e..a9e7ce5 100644
--- a/put.c
+++ b/put.c
@@ -61,7 +61,7 @@ typedef enum
PutViewport = 11,
PutViewportLeft = 12,
PutViewportRight = 13,
- PutExact = 14,
+ PutAbsolute = 14,
PutPointer = 15,
PutViewportUp = 16,
PutViewportDown = 17
@@ -522,7 +522,7 @@ putInitiateCommon (CompDisplay *d,
dx = 0;
dy = s->height;
break;
- case PutExact:
+ case PutAbsolute:
/* move the window to an exact position */
if (px < 0)
/* account for a specified negative position,
@@ -660,8 +660,8 @@ putInitiateCommon (CompDisplay *d,
static PutType
putTypeFromString (char *type)
{
- if (strcasecmp (type, "exact") == 0)
- return PutExact;
+ if (strcasecmp (type, "absolute") == 0)
+ return PutAbsolute;
else if (strcasecmp (type, "pointer") == 0)
return PutPointer;
else if (strcasecmp (type, "viewport") == 0)