aboutsummaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-04 09:47:22 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-04 09:47:22 +0000
commit00e51dd4415467fc2b74006f94b40cbb798d99f5 (patch)
tree1f5535b34f5df28165824d11201a05ca0b1ce3db /action.h
parent6494b68742b5f20e3d431716a115319d666752ea (diff)
downloaddzen-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.h45
1 files changed, 22 insertions, 23 deletions
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 <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 **);
-