mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
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
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user