Add a menu for selecting a window to map and raise.
[gwm.git] / frame.h
blobd7c7bfe472036a3d3bb636b16dd58fba721cdeb4
1 #ifndef FRAME_H
2 #define FRAME_H
4 extern struct gwm_window *focus_frame; /* the WINDOW_FRAME which has the
5 focus, if any */
7 extern int frame_t( struct gwm_window *window, int include_x_border );
8 extern int frame_b( struct gwm_window *window, int include_x_border );
9 extern int frame_l( struct gwm_window *window, int include_x_border );
10 extern int frame_r( struct gwm_window *window, int include_x_border );
11 extern int frame_xb( struct gwm_window *window );
13 extern void translate_child_to_frame( struct gwm_window *frame,
14 int *fx, int *fy, int *fwidth,
15 int *fheight, int cx, int cy,
16 int cwidth, int cheight,
17 int cborder, int win_gravity );
19 extern void translate_frame_to_child( struct gwm_window *frame,
20 int *cx, int *cy, int fx, int fy,
21 int cborder, int win_gravity );
23 extern void apply_size_constraints( struct gwm_window *window, int *width,
24 int *height );
26 extern void deactivate_focus_frame( void );
28 extern void synthetic_configure_notify( struct gwm_window *window );
30 extern const event_handler frame_handlers[], childless_handlers[];
32 #endif