A tiling window manager
1/*
2 * manage.h
3 * Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts <sabetts@vcn.bc.ca>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place, Suite 330, Boston, MA 02111-1307 USA.
18 */
19
20#ifndef _SDORFEHS_MANAGE_H
21#define _SDORFEHS_MANAGE_H 1
22
23#include "data.h"
24
25void clear_unmanaged_list(void);
26char *list_unmanaged_windows(void);
27void add_unmanaged_window(char *name);
28int unmanaged_window(Window w);
29void scanwins(void);
30void unmanage(rp_window *w);
31int update_window_name(rp_window *win);
32void update_normal_hints(rp_window *win);
33void rename_current_window(void);
34void set_state(rp_window *win, int state);
35long get_state(rp_window *win);
36void check_state(rp_window *win);
37
38int window_is_transient(rp_window *win);
39Atom get_net_wm_window_type(rp_window *win);
40int is_unmanaged_window_type(Window win);
41void update_window_information(rp_window *win);
42void map_window(rp_window *win);
43
44void maximize(rp_window *win);
45void force_maximize(rp_window *win);
46
47void grab_top_level_keys(Window w);
48void ungrab_top_level_keys(Window w);
49void ungrab_keys_all_wins(void);
50void grab_keys_all_wins(void);
51
52void hide_window(rp_window *win);
53void unhide_window(rp_window *win);
54void unhide_all_windows(void);
55void withdraw_window(rp_window *win);
56void hide_others(rp_window *win);
57void hide_vscreen_windows(rp_vscreen *v);
58void raise_utility_windows(void);
59
60#endif /* ! _SDORFEHS_MANAGE_H */