[hackers] [wmii] Fix floating window constraings with hidden windows || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 16 Oct 2008 21:05:58 +0000 (UTC)

changeset: 2379:6eb502730767
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Oct 16 17:05:56 2008 -0400
files: cmd/wmii/frame.c
description:
Fix floating window constraings with hidden windows

diff -r 9bd488c0141e -r 6eb502730767 cmd/wmii/frame.c
--- a/cmd/wmii/frame.c Thu Oct 16 16:52:42 2008 -0400
+++ b/cmd/wmii/frame.c Thu Oct 16 17:05:56 2008 -0400
@@ -655,6 +655,8 @@
         besty = nil;
         for(i=0; i < nscreens; i++) {
                 s = screens[i];
+ if(!s->showing)
+ continue;
                 isect = rect_intersection(r, s->r);
                 if(!bestx || Dx(isect) > nbestx && Dy(isect) > 0) {
                         bestx = s;
Received on Thu Oct 16 2008 - 21:05:58 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 16 2008 - 21:12:05 UTC