mirror of https://github.com/0intro/wmii
Don't push dock windows to the top of the stack.
This commit is contained in:
parent
9eded9b8cd
commit
7f57a9fd5a
|
@ -97,7 +97,6 @@ frame_insert(Frame *f, Frame *pos) {
|
|||
bool
|
||||
frame_restack(Frame *f, Frame *above) {
|
||||
Client *c;
|
||||
Frame *fp;
|
||||
Area *a;
|
||||
|
||||
c = f->client;
|
||||
|
@ -107,13 +106,6 @@ frame_restack(Frame *f, Frame *above) {
|
|||
if(f == above)
|
||||
return false;
|
||||
|
||||
if(above == nil && !(c->w.ewmh.type & TypeDock))
|
||||
for(fp=a->stack; fp; fp=fp->snext)
|
||||
if(fp->client->w.ewmh.type & TypeDock)
|
||||
above = fp;
|
||||
else
|
||||
break;
|
||||
|
||||
if(f->sprev || f == a->stack)
|
||||
if(f->sprev == above)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue