2 * client.h - client management header
4 * Copyright © 2007 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
27 Client
* get_client_bywin(Client
*, Window
);
28 inline void client_attach(Client
**, Client
*);
29 inline void client_detach(Client
**, Client
*);
30 void client_reattach_after(Client
*, Client
*);
31 Bool
loadprops(Client
*, int );
32 void client_ban(Client
*);
33 void focus(Client
*, Bool
, awesome_config
*);
34 void client_manage(Window
, XWindowAttributes
*, awesome_config
*);
35 void client_resize(Client
*, int, int, int, int, awesome_config
*, Bool
, Bool
);
36 void client_unban(Client
*);
37 void client_unmanage(Client
*, long, awesome_config
*);
38 inline void updatesizehints(Client
*);
39 void updatetitle(Client
*);
40 void saveprops(Client
*, int);
42 UICB_PROTO(uicb_client_kill
);
43 UICB_PROTO(uicb_client_moveresize
);
44 UICB_PROTO(uicb_client_settrans
);
45 UICB_PROTO(uicb_setborder
);
46 UICB_PROTO(uicb_swapnext
);
47 UICB_PROTO(uicb_swapprev
);
50 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99