use list function for Widget
[awesome.git] / client.h
blob5f94dafc7843433b32543a2d607a94e20e9ec1ba
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 Client * client_find_prev_visible(Client *);
31 void client_ban(Client *);
32 void focus(Client *, Bool, int);
33 void client_manage(Window, XWindowAttributes *, int);
34 Bool client_resize(Client *, Area, Bool);
35 void client_unban(Client *);
36 void client_unmanage(Client *);
37 void client_updatewmhints(Client *);
38 void client_updatesizehints(Client *);
39 void client_updatetitle(Client *);
40 void client_saveprops(Client *);
41 void client_kill(Client *);
43 Uicb uicb_client_kill;
44 Uicb uicb_client_moveresize;
45 Uicb uicb_client_settrans;
46 Uicb uicb_client_swapnext;
47 Uicb uicb_client_swapprev;
48 Uicb uicb_client_togglemax;
49 Uicb uicb_client_toggleverticalmax;
50 Uicb uicb_client_togglehorizontalmax;
51 Uicb uicb_client_zoom;
53 #endif
54 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80