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
27 Bool
client_isvisible(Client
*, int);
28 Client
* get_client_bywin(Client
*, Window
);
29 Client
* get_client_byname(Client
*, char *);
30 void client_focus(Client
*, int, Bool
);
31 void client_ban(Client
*);
32 void client_unban(Client
*);
33 void client_manage(Window
, XWindowAttributes
*, int);
34 Bool
client_resize(Client
*, Area
, Bool
);
35 void client_unmanage(Client
*);
36 void client_updatewmhints(Client
*);
37 void client_updatesizehints(Client
*);
38 void client_updatetitle(Client
*);
39 void client_saveprops(Client
*);
40 void client_kill(Client
*);
41 void client_setfloating(Client
*, Bool
);
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
;
52 Uicb uicb_client_focusnext
;
53 Uicb uicb_client_focusprev
;
54 Uicb uicb_client_togglefloating
;
56 DO_SLIST(Client
, client
, p_delete
);
59 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80