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 */ 10 void ExecuteFunction(int func, void *action, Window w, TwmWindow *tmp_win, 11 XEvent *eventp, int context, bool pulldown); 12 13 14 typedef enum { 15 MOVE_NONE, 16 MOVE_VERT, 17 MOVE_HORIZ, 18 } CMoveDir; 19 20 21 /* Extra util used in add_window.c */ 22 void ReGrab(void); 23 24 25 /* From functions_win_moveresize.c: needed in event_handlers.c */ 26 extern bool ConstMove; 27 extern CMoveDir ConstMoveDir; 28 extern int ConstMoveX; 29 extern int ConstMoveY; 30 31 32 /* From functions_identify.c: needed in event_handlers.c */ 33 void draw_info_window(void); 34 35 36 /* Leaks to a few places */ 37 extern int RootFunction; 38 extern int MoveFunction; 39 extern bool WindowMoved; 40 extern int ResizeOrigX; 41 extern int ResizeOrigY; 42 43 #endif /* _CTWM_FUNCTIONS_H */ 44