set skip focus on skip taskbar

This commit is contained in:
Julien Danjou 2008-02-12 10:06:19 +01:00
parent 95fc524993
commit 2ca938e18e
1 changed files with 2 additions and 0 deletions

2
ewmh.c
View File

@ -240,11 +240,13 @@ ewmh_process_state_atom(Client *c, Atom state, int set)
if(set == _NET_WM_STATE_REMOVE) if(set == _NET_WM_STATE_REMOVE)
{ {
c->skiptb = False; c->skiptb = False;
c->skip = False;
c->border = c->oldborder; c->border = c->oldborder;
} }
else if(set == _NET_WM_STATE_ADD) else if(set == _NET_WM_STATE_ADD)
{ {
c->skiptb = True; c->skiptb = True;
c->skip = True;
c->oldborder = c->border; c->oldborder = c->border;
c->border = 0; c->border = 0;
} }