Fix segfault when creating a tearoff menu using a Pixmap background.
[fvwm.git] / fvwm / repeat.h
blob4b03341aaa33c8038d41b359cccdbe586fb13b09
1 /* -*-c-*- */
3 #ifndef _REPEAT_
4 #define _REPEAT_
6 typedef enum
8 REPEAT_NONE = 0,
9 REPEAT_COMMAND,
10 /* I think we don't need all these
11 REPEAT_BUILTIN,
12 REPEAT_FUNCTION,
13 REPEAT_TOP_FUNCTION,
14 REPEAT_MODULE,
16 REPEAT_MENU,
17 REPEAT_POPUP,
18 REPEAT_PAGE,
19 REPEAT_DESK,
20 REPEAT_DESK_AND_PAGE,
21 REPEAT_FVWM_WINDOW
22 } repeat_t;
24 extern char *repeat_last_function;
25 extern char *repeat_last_complex_function;
26 extern char *repeat_last_builtin_function;
27 extern char *repeat_last_module;
29 extern char *repeat_last_top_function;
30 extern char *repeat_last_menu;
31 extern FvwmWindow *repeat_last_fvwm_window;
34 Bool set_repeat_data(void *data, repeat_t type, const func_t *builtin);
36 #endif /* _REPEAT_ */