1/*
2 * f.whatever function dispatcher
3 */
4
5#ifndef _CTWM_FUNCTIONS_H
6#define _CTWM_FUNCTIONS_H
7
8/* All the outside world sees */
9/* x-ref EF_FULLPROTO in functions_internal.h; keep sync */
10void ExecuteFunction(int func, void *action, Window w, TwmWindow *tmp_win,
11                     XEvent *eventp, int context, bool pulldown);
12
13
14typedef enum {
15	MOVE_NONE,
16	MOVE_VERT,
17	MOVE_HORIZ,
18} CMoveDir;
19
20
21/* Extra util used in add_window.c */
22void ReGrab(void);
23
24
25/* From functions_win_moveresize.c: needed in event_handlers.c */
26extern bool ConstMove;
27extern CMoveDir ConstMoveDir;
28extern int ConstMoveX;
29extern int ConstMoveY;
30
31
32/* From functions_identify.c: needed in event_handlers.c */
33void draw_info_window(void);
34
35
36/* Leaks to a few places */
37extern int  RootFunction;
38extern int  MoveFunction;
39extern bool WindowMoved;
40extern int  ResizeOrigX;
41extern int  ResizeOrigY;
42
43#endif /* _CTWM_FUNCTIONS_H */
44