Fix ExplainWindowPlacement when using "NoUSPosition" style.
[fvwm.git] / fvwm / decorations.h
blob27501b492668f8c0ab20daa64c62d71562138c54
1 /* -*-c-*- */
3 #ifndef DECORATIONS_H
4 #define DECORATIONS_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
14 typedef enum
16 RQORIG_PROGRAM = False,
17 RQORIG_PROGRAM_US = True,
18 RQORIG_MODULE_INPUT,
19 RQORIG_FVWM_USER,
20 } request_origin_t;
22 /* ---------------------------- forward declarations ----------------------- */
24 /* ---------------------------- exported variables (globals) --------------- */
26 /* ---------------------------- interface functions ------------------------ */
28 void GetMwmHints(FvwmWindow *t);
29 void GetOlHints(FvwmWindow *t);
30 void SelectDecor(FvwmWindow *t, window_style *pstyle, short *buttons);
31 Bool is_function_allowed(
32 int function, char *action_string, const FvwmWindow *t,
33 request_origin_t request_origin, Bool do_allow_override_mwm_hints);
35 #endif /* DECORATIONS_H */