force windows to tile mode
[awesome.git] / client.h
blob9777efad38700d967a18127a07ef87aab650112f
1 /*
2 * client.h - client management header
4 * Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef AWESOME_CLIENT_H
23 #define AWESOME_CLIENT_H
25 #include "config.h"
27 Bool client_isvisible(Client *, int);
28 Client * get_client_bywin(Client *, Window);
29 Client * get_client_byname(Client *, char *);
30 void client_attach(Client *);
31 void client_detach(Client *);
32 void client_ban(Client *);
33 void focus(Client *, Bool, int);
34 void client_manage(Window, XWindowAttributes *, int);
35 Bool client_resize(Client *, Area, Bool);
36 void client_unban(Client *);
37 void client_unmanage(Client *);
38 void client_updatewmhints(Client *);
39 void client_updatesizehints(Client *);
40 void client_updatetitle(Client *);
41 void client_saveprops(Client *);
42 void client_kill(Client *);
44 Uicb uicb_client_kill;
45 Uicb uicb_client_moveresize;
46 Uicb uicb_client_settrans;
47 Uicb uicb_client_swapnext;
48 Uicb uicb_client_swapprev;
49 Uicb uicb_client_togglemax;
50 Uicb uicb_client_toggleverticalmax;
51 Uicb uicb_client_togglehorizontalmax;
52 Uicb uicb_client_zoom;
54 #endif
55 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80