* detect and disallow circular transient-for hints
[fvwm.git] / fvwm / add_window.h
blobe18a03acfb384d5c7ba319dba588251f46a6fbea
1 /* -*-c-*- */
3 #ifndef ADD_WINDOW_H
4 #define ADD_WINDOW_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 #define AW_NO_WINDOW NULL
11 #define AW_UNMANAGED ((void *)1)
13 /* ---------------------------- global macros ------------------------------ */
15 /* ---------------------------- type definitions --------------------------- */
17 /* ---------------------------- forward declarations ----------------------- */
19 /* ---------------------------- exported variables (globals) --------------- */
21 /* ---------------------------- interface functions ------------------------ */
23 void setup_visible_name(FvwmWindow *fw, Bool is_icon);
24 void setup_wm_hints(FvwmWindow *fw);
25 void setup_placement_penalty(FvwmWindow *fw, window_style *pstyle);
26 void setup_focus_policy(FvwmWindow *fw);
27 Bool setup_transientfor(FvwmWindow *fw);
28 void setup_icon_size_limits(FvwmWindow *fw, window_style *pstyle);
29 void setup_icon_background_parameters(FvwmWindow *fw, window_style *pstyle);
30 void setup_icon_title_parameters(FvwmWindow *fw, window_style *pstyle);
31 Bool validate_transientfor(FvwmWindow *fw);
32 void setup_title_geometry(
33 FvwmWindow *fw, window_style *pstyle);
34 void setup_window_font(
35 FvwmWindow *fw, window_style *pstyle, Bool do_destroy);
36 void setup_icon_font(
37 FvwmWindow *fw, window_style *pstyle, Bool do_destroy);
38 void setup_style_and_decor(
39 FvwmWindow *fw, window_style *pstyle, short *buttons);
40 void setup_frame_attributes(
41 FvwmWindow *fw, window_style *pstyle);
42 void change_auxiliary_windows(
43 FvwmWindow *fw, short buttons);
44 void setup_frame_geometry(
45 FvwmWindow *fw);
46 void setup_frame_size_limits(
47 FvwmWindow *fw, window_style *pstyle);
48 void increase_icon_hint_count(
49 FvwmWindow *fw);
50 void change_icon(
51 FvwmWindow *fw, window_style *pstyle);
52 void change_mini_icon(
53 FvwmWindow *fw, window_style *pstyle);
54 void change_icon_boxes(
55 FvwmWindow *fw, window_style *pstyle);
56 void FetchWmProtocols(
57 FvwmWindow *);
58 FvwmWindow *AddWindow(
59 const exec_context_t *exc, FvwmWindow *ReuseWin,
60 initial_window_options_t * win_opts);
61 void GetWindowSizeHints(
62 FvwmWindow *);
63 void free_window_names(
64 FvwmWindow *tmp, Bool nukename, Bool nukeicon);
65 void destroy_window(
66 FvwmWindow *);
67 void RestoreWithdrawnLocation(
68 FvwmWindow *tmp, Bool is_restart_or_recapture, Window parent);
69 void Reborder(void);
70 void CaptureAllWindows(const exec_context_t *exc, Bool is_recapture);
72 #endif /* ADD_WINDOW_H */