diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-13 11:04:21 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-13 11:04:21 +0000 |
commit | 56a428c495dd0caae0c506bec0f16dff1770cd36 (patch) | |
tree | 784facb46223b8c33972f8f324348458347584d1 | |
parent | f45eaee6e00af151f4c6ae32e7bdadbefa0b81b4 (diff) | |
download | dzen-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.c | 2 | ||||
-rw-r--r-- | action.h | 2 | ||||
-rw-r--r-- | draw.c | 2 | ||||
-rw-r--r-- | dzen.h | 2 | ||||
-rw-r--r-- | main.c | 29 |
5 files changed, 13 insertions, 24 deletions
@@ -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. * */ @@ -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. * */ @@ -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. * */ @@ -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. * */ @@ -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 |