diff --git a/client.c b/client.c index 4770840e6..1baeadecd 100644 --- a/client.c +++ b/client.c @@ -415,7 +415,6 @@ manage(Display *disp, Window w, XWindowAttributes *wa, awesome_config *awesomeco c = p_new(Client, 1); c->win = w; - c->ftview = True; c->x = c->rw = wa->x; c->y = c->ry = wa->y; c->w = c->rw = wa->width; diff --git a/config.h b/config.h index 5aad3f9e0..bdbab6e8e 100644 --- a/config.h +++ b/config.h @@ -134,8 +134,6 @@ struct Client int screen; /** Client physical screen */ int phys_screen; - /** First time viewed on new layout */ - Bool ftview; }; /** Main configuration structure */ diff --git a/layout.c b/layout.c index e8724e0d7..4363f8fdc 100644 --- a/layout.c +++ b/layout.c @@ -184,7 +184,6 @@ uicb_setlayout(awesome_config * awesomeconf, const char *arg) { int i, j; - Client *c; if(arg) { @@ -206,9 +205,6 @@ uicb_setlayout(awesome_config * awesomeconf, if (awesomeconf->tags[j].selected) awesomeconf->tags[j].layout = &awesomeconf->layouts[i]; - for(c = *awesomeconf->clients; c; c = c->next) - c->ftview = True; - if(*awesomeconf->client_sel) arrange(awesomeconf); else diff --git a/layouts/floating.c b/layouts/floating.c index 9e983d2f1..1708ff6e3 100644 --- a/layouts/floating.c +++ b/layouts/floating.c @@ -29,14 +29,6 @@ layout_floating(awesome_config *awesomeconf) for(c = *awesomeconf->clients; c; c = c->next) if(isvisible(c, awesomeconf->screen, awesomeconf->tags, awesomeconf->ntags)) - { - if(c->ftview) - { - resize(c, c->rx, c->ry, c->rw, c->rh, awesomeconf, True); - c->ftview = False; - } - else - resize(c, c->x, c->y, c->w, c->h, awesomeconf, True); - } + resize(c, c->rx, c->ry, c->rw, c->rh, awesomeconf, True); } // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99