aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-13 11:04:21 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-13 11:04:21 +0000
commit56a428c495dd0caae0c506bec0f16dff1770cd36 (patch)
tree784facb46223b8c33972f8f324348458347584d1
parentf45eaee6e00af151f4c6ae32e7bdadbefa0b81b4 (diff)
downloaddzen-56a428c495dd0caae0c506bec0f16dff1770cd36.tar.gz
dzen-56a428c495dd0caae0c506bec0f16dff1770cd36.zip
minor changes. comments and code
git-svn-id: http://dzen.googlecode.com/svn/trunk@249 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-rw-r--r--action.c2
-rw-r--r--action.h2
-rw-r--r--draw.c2
-rw-r--r--dzen.h2
-rw-r--r--main.c29
5 files changed, 13 insertions, 24 deletions
diff --git a/action.c b/action.c
index 103f45f..a1ae26a 100644
--- a/action.c
+++ b/action.c
@@ -1,5 +1,5 @@
/*
-* (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+* (C)opyright 2007-2009 Robert Manea <rob dot manea at gmail dot com>
* See LICENSE file for license details.
*
*/
diff --git a/action.h b/action.h
index 582d802..8ea8704 100644
--- a/action.h
+++ b/action.h
@@ -1,5 +1,5 @@
/*
- * (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+ * (C)opyright 2007-2009 Robert Manea <rob dot manea at gmail dot com>
* See LICENSE file for license details.
*
*/
diff --git a/draw.c b/draw.c
index 07d21c5..6f2f4e7 100644
--- a/draw.c
+++ b/draw.c
@@ -1,6 +1,6 @@
/*
-* (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+* (C)opyright 2007-2009 Robert Manea <rob dot manea at gmail dot com>
* See LICENSE file for license details.
*
*/
diff --git a/dzen.h b/dzen.h
index 9d17502..d7703cc 100644
--- a/dzen.h
+++ b/dzen.h
@@ -1,5 +1,5 @@
/*
- * (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+ * (C)opyright 2007-2009 Robert Manea <rob dot manea at gmail dot com>
* See LICENSE file for license details.
*
*/
diff --git a/main.c b/main.c
index f9bb44a..10f015d 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
/*
- * (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+ * (C)opyright 2007-2009 Robert Manea <rob dot manea at gmail dot com>
* See LICENSE file for license details.
*
*/
@@ -527,7 +527,7 @@ x_create_windows(int use_ewmh_dock) {
CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
/* As we don't use the title window in this mode,
- * we reuse it's width value
+ * we reuse its width value
*/
dzen.title_win.width = dzen.slave_win.width;
dzen.slave_win.width = ew+r;
@@ -592,10 +592,6 @@ x_redraw(Window w) {
0, 0, dzen.slave_win.width, dzen.line_height, 0, 0);
}
}
- /*
- if(dzen.sa_win)
- XMapWindow(dzen.dpy, dzen.sa_win);
- */
}
static void
@@ -672,15 +668,6 @@ handle_xev(void) {
break;
/* TODO: XRandR rotation and size chnages */
-#if 0
-
-#ifdef DZEN_XRANDR
- case RRScreenChangeNotify:
- handle_xrandr();
-#endif
-
-#endif
-
}
}
@@ -975,17 +962,19 @@ main(int argc, char *argv[]) {
use_ewmh_dock = 1;
else if(!strncmp(argv[i], "-v", 3)) {
printf("dzen-"VERSION", (C)opyright 2007-2008 Robert Manea\n");
- printf("Enabled optional features: ");
+ printf(
+ "Enabled optional features: "
#ifdef DZEN_XMP
- printf(" XPM ");
+ " XPM "
#endif
#ifdef DZEN_XFT
- printf(" XFT");
+ " XFT"
#endif
#ifdef DZEN_XINERAMA
- printf(" XINERAMA ");
+ " XINERAMA "
#endif
- printf("\n");
+ "\n"
+ );
return EXIT_SUCCESS;
}
else