/* * f.whatever function dispatcher */ #ifndef _CTWM_FUNCTIONS_H #define _CTWM_FUNCTIONS_H /* All the outside world sees */ /* x-ref EF_FULLPROTO in functions_internal.h; keep sync */ void ExecuteFunction(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown); typedef enum { MOVE_NONE, MOVE_VERT, MOVE_HORIZ, } CMoveDir; /* Extra util used in add_window.c */ void ReGrab(void); /* From functions_win_moveresize.c: needed in event_handlers.c */ extern bool ConstMove; extern CMoveDir ConstMoveDir; extern int ConstMoveX; extern int ConstMoveY; /* From functions_identify.c: needed in event_handlers.c */ void draw_info_window(void); /* Leaks to a few places */ extern int RootFunction; extern int MoveFunction; extern bool WindowMoved; extern int ResizeOrigX; extern int ResizeOrigY; #endif /* _CTWM_FUNCTIONS_H */