From 00e51dd4415467fc2b74006f94b40cbb798d99f5 Mon Sep 17 00:00:00 2001 From: gotmor Date: Mon, 4 Jun 2007 09:47:22 +0000 Subject: 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 --- action.h | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) (limited to 'action.h') diff --git a/action.h b/action.h index 944f434..13e9a58 100644 --- a/action.h +++ b/action.h @@ -1,8 +1,8 @@ /* - * (C)opyright MMVII Robert Manea - * See LICENSE file for license details. - * - */ +* (C)opyright MMVII Robert Manea +* 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 **); - -- cgit v1.2.3-54-g00ecf