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

View File

@ -97,7 +97,6 @@ frame_insert(Frame *f, Frame *pos) {
bool bool
frame_restack(Frame *f, Frame *above) { frame_restack(Frame *f, Frame *above) {
Client *c; Client *c;
Frame *fp;
Area *a; Area *a;
c = f->client; c = f->client;
@ -107,13 +106,6 @@ frame_restack(Frame *f, Frame *above) {
if(f == above) if(f == above)
return false; 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 || f == a->stack)
if(f->sprev == above) if(f->sprev == above)
return false; return false;