Don't push dock windows to the top of the stack.

This commit is contained in:
Kris Maglione 2010-05-27 21:30:13 -04:00
parent 9eded9b8cd
commit 7f57a9fd5a
1 changed files with 0 additions and 8 deletions

View File

@ -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;