set skip focus on skip taskbar
This commit is contained in:
parent
95fc524993
commit
2ca938e18e
2
ewmh.c
2
ewmh.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue