summaryrefslogtreecommitdiff
path: root/transSet.c
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2011-10-30 16:45:00 +0900
committerArnaud Fontaine <arnau@debian.org>2011-10-30 16:45:00 +0900
commit88d9e28837f71f391402654c33394635d27d4b30 (patch)
tree2fda1b3ecf931cc0f303b5fb972a42e5dfd6dbad /transSet.c
parent470ea5431ffe0a54995c93506ab5e55ce534e039 (diff)
2006-01-10 Daniel Forchheimer <n04df@efd.lth.se>
Release v5 * transSet.c: Applied patch so that transset-df compiles with gcc 2.95 Thanks to Andreas Kohn for the patch
Diffstat (limited to 'transSet.c')
-rw-r--r--transSet.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/transSet.c b/transSet.c
index c871472..3ed63be 100644
--- a/transSet.c
+++ b/transSet.c
@@ -3,13 +3,13 @@
With some additional features to make it more automatic and integrated
The purpos is to bind it from your wm to a key or mouse-button
- Use however you want.
+ License: Use however you want.
Written by: Daniel Forchheimer (upiom)
*/
-#define VERSIONSTR "4"
-#define RELEASEDATESTR "2005-03-13"
+#define VERSIONSTR "5"
+#define RELEASEDATESTR "2006-01-10"
#include <stdio.h>
#include <X11/Xlib.h>
@@ -121,6 +121,11 @@ int main(int argc, char **argv)
{"verbose",0,NULL,'v'},
{0,0,0,0}
};
+ unsigned char *data;
+
+ Atom actual;
+ int format;
+ unsigned long n, left;
/* wonderful utility */
Setup_Display_And_Screen(&argc, argv);
@@ -228,12 +233,6 @@ int main(int argc, char **argv)
target_win = Select_Window(dpy);
}
- unsigned char *data;
-
- Atom actual;
- int format;
- unsigned long n, left;
-
if (!gotd) d=0.75;
/* get property */