-
Notifications
You must be signed in to change notification settings - Fork 4
/
functions.h
43 lines (30 loc) · 901 Bytes
/
functions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* 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 */