[hackers] [wmii] Don't push dock windows to the top of the stack. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Fri, 28 May 2010 01:35:12 +0000 (UTC)

changeset: 2661:2929806f4c88
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Thu May 27 21:30:13 2010 -0400
files: cmd/wmii/frame.c
description:
Don't push dock windows to the top of the stack.

diff -r 3bbf7a6a7a15 -r 2929806f4c88 cmd/wmii/frame.c
--- a/cmd/wmii/frame.c Thu May 27 21:22:36 2010 -0400
+++ b/cmd/wmii/frame.c Thu May 27 21:30:13 2010 -0400
@@ -97,7 +97,6 @@
 bool
 frame_restack(Frame *f, Frame *above) {
         Client *c;
- Frame *fp;
         Area *a;
 
         c = f->client;
@@ -107,13 +106,6 @@
         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;
Received on Fri May 28 2010 - 01:35:12 UTC

This archive was generated by hypermail 2.2.0 : Fri May 28 2010 - 01:36:03 UTC