ewmh: add suport for _NET_ACTIVE_WINDOW message
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a1489b867b
commit
ba6f5e42bb
2
client.c
2
client.c
|
@ -213,7 +213,7 @@ client_ban(client_t *c)
|
||||||
* \param c The client or NULL.
|
* \param c The client or NULL.
|
||||||
* \return True if a window (even root) has received focus, false otherwise.
|
* \return True if a window (even root) has received focus, false otherwise.
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
client_focus(client_t *c)
|
client_focus(client_t *c)
|
||||||
{
|
{
|
||||||
if(!client_maybevisible(c, c->screen) || c->nofocus)
|
if(!client_maybevisible(c, c->screen) || c->nofocus)
|
||||||
|
|
1
client.h
1
client.h
|
@ -66,6 +66,7 @@ void client_setmaxhoriz(client_t *, bool);
|
||||||
void client_setmaxvert(client_t *, bool);
|
void client_setmaxvert(client_t *, bool);
|
||||||
void client_setminimized(client_t *, bool);
|
void client_setminimized(client_t *, bool);
|
||||||
void client_setborder(client_t *, int);
|
void client_setborder(client_t *, int);
|
||||||
|
void client_focus(client_t *);
|
||||||
|
|
||||||
int luaA_client_newindex(lua_State *);
|
int luaA_client_newindex(lua_State *);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue