diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-04 09:47:22 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-04 09:47:22 +0000 |
commit | 00e51dd4415467fc2b74006f94b40cbb798d99f5 (patch) | |
tree | 1f5535b34f5df28165824d11201a05ca0b1ce3db /action.h | |
parent | 6494b68742b5f20e3d431716a115319d666752ea (diff) | |
download | dzen-00e51dd4415467fc2b74006f94b40cbb798d99f5.tar.gz dzen-00e51dd4415467fc2b74006f94b40cbb798d99f5.zip |
don't be a smartass and use tabs for intendation like every one else
does
git-svn-id: http://dzen.googlecode.com/svn/trunk@64 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 45 |
1 files changed, 22 insertions, 23 deletions
@@ -1,8 +1,8 @@ /* - * (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com> - * See LICENSE file for license details. - * - */ +* (C)opyright MMVII Robert Manea <rob dot manea at gmail dot com> +* See LICENSE file for license details. +* +*/ #define MAXEVENTS 32 #define MAXACTIONS 256 @@ -13,36 +13,36 @@ typedef struct AS As; typedef struct EV Ev; enum ev_id { - /* internal events, should not be used by the user */ - exposetitle, exposeslave, - /* startup, exit */ - onstart, onexit, - /* mouse buttons */ - button1, button2, button3, button4, button5, - /* entering/leaving windows */ - entertitle, leavetitle, enterslave, leaveslave, - /* external signals */ - sigusr1, sigusr2 + /* internal events, should not be used by the user */ + exposetitle, exposeslave, + /* startup, exit */ + onstart, onexit, + /* mouse buttons */ + button1, button2, button3, button4, button5, + /* entering/leaving windows */ + entertitle, leavetitle, enterslave, leaveslave, + /* external signals */ + sigusr1, sigusr2 }; struct event_lookup { - char *name; - int id; + char *name; + int id; }; struct action_lookup { - char *name; - int (*handler)(char **); + char *name; + int (*handler)(char **); }; struct AS { - char *options[MAXOPTIONS]; - int (*handler)(char **); + char *options[MAXOPTIONS]; + int (*handler)(char **); }; struct EV { - int isset; - As *action[MAXACTIONS]; + int isset; + As *action[MAXACTIONS]; }; extern Ev ev_table[MAXEVENTS]; @@ -75,4 +75,3 @@ int a_raise(char **); int a_lower(char **); int a_scrollhome(char **); - |