Fix ExplainWindowPlacement when using "NoUSPosition" style.
[fvwm.git] / fvwm / placement.h
blob4560652f227c149037941457c1eb9f6167233e52
1 /* -*-c-*- */
3 #ifndef PLACEMENT_H
4 #define PLACEMENT_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
14 typedef enum
16 PLACE_INITIAL,
17 PLACE_AGAIN
18 } placement_mode_t;
20 /* ---------------------------- forward declarations ----------------------- */
22 /* ---------------------------- exported variables (globals) --------------- */
24 extern const pl_penalty_struct default_pl_penalty;
25 extern const pl_percent_penalty_struct default_pl_percent_penalty;
27 /* ---------------------------- interface functions ------------------------ */
29 Bool setup_window_placement(
30 FvwmWindow *fw, window_style *pstyle, rectangle *attr_g,
31 initial_window_options_t *win_opts, placement_mode_t mode);
33 #endif /* PLACEMENT_H */