changeset: 2568:000262213bb9
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat Oct 24 01:50:52 2009 -0400
files: cmd/wmii/float.c cmd/wmii/frame.c
description:
Float clients to the same Xinerama screen as their column. Closes issue #145.
diff -r 0d74eec14973 -r 000262213bb9 cmd/wmii/float.c
--- a/cmd/wmii/float.c Fri Oct 23 08:55:28 2009 -0400
+++ b/cmd/wmii/float.c Sat Oct 24 01:50:52 2009 -0400
@@ -198,7 +198,9 @@
*/
s = -1;
ff = client_groupframe(c, f->view);
- if (ff)
+ if (f->screen >= 0)
+ s = f->screen;
+ else if (ff)
s = ownerscreen(ff->r);
else if (selclient())
s = ownerscreen(selclient()->sel->r);
diff -r 0d74eec14973 -r 000262213bb9 cmd/wmii/frame.c
--- a/cmd/wmii/frame.c Fri Oct 23 08:55:28 2009 -0400
+++ b/cmd/wmii/frame.c Sat Oct 24 01:50:52 2009 -0400
@@ -36,6 +36,7 @@
}
f->collapsed = false;
f->oldarea = -1;
+ f->oldscreen = -1;
return f;
}
Received on Sat Oct 24 2009 - 05:50:59 UTC
This archive was generated by hypermail 2.2.0 : Sat Oct 24 2009 - 06:00:07 UTC