commit 7863f248d1167c8a00b3dcc68fc141409bd2d1af
parent 7564b261eb895232071e6d10be40d261bca8fda5
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 26 Apr 2006 16:23:05 +0200
apps requesting fullscreen at creation time are treated floating now
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/wm/view.c b/cmd/wm/view.c
@@ -232,7 +232,8 @@ attach_to_view(View *v, Client *c)
if(is_of_view(v, c))
return;
- if(c->trans || c->floating)
+ if(c->trans || c->floating
+ || (c->rect.width == rect.width && c->rect.height == rect.height))
a = v->area.data[0];
else
a = v->area.data[v->sel];