windows that start in Withdrawstate are skipped in focus list
[awesome.git] / client.h
blobb756859e84a7779d5aebea3da6a2e9e4ae75fdd3
1 /*
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
25 #include "common.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 void client_resize(Client *, int, int, int, int, Bool, Bool);
36 void client_unban(Client *);
37 void client_unmanage(Client *, long);
38 void client_updatewmhints(Client *);
39 void client_updatesizehints(Client *);
40 void client_updatetitle(Client *);
41 void client_saveprops(Client *, int);
42 void client_kill(Client *);
44 UICB_PROTO(uicb_client_kill);
45 UICB_PROTO(uicb_client_moveresize);
46 UICB_PROTO(uicb_client_settrans);
47 UICB_PROTO(uicb_setborder);
48 UICB_PROTO(uicb_client_swapnext);
49 UICB_PROTO(uicb_client_swapprev);
51 #endif
52 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80