Float clients to the same Xinerama screen as their column. Closes issue #145.

This commit is contained in:
Kris Maglione 2009-10-24 01:50:52 -04:00
parent c53d95d090
commit 67512fa9e7
2 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,9 @@ float_placeframe(Frame *f) {
*/
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);

View File

@ -36,6 +36,7 @@ frame_create(Client *c, View *v) {
}
f->collapsed = false;
f->oldarea = -1;
f->oldscreen = -1;
return f;
}