save client props on floating
This commit is contained in:
parent
240ee786d1
commit
00f7cd006a
4
client.c
4
client.c
|
@ -321,9 +321,6 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
window_setshape(phys_screen, c->win);
|
window_setshape(phys_screen, c->win);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* save new props */
|
|
||||||
client_saveprops(c);
|
|
||||||
|
|
||||||
/* attach to the stack */
|
/* attach to the stack */
|
||||||
if((rule = rule_matching_client(c)) && rule->not_master)
|
if((rule = rule_matching_client(c)) && rule->not_master)
|
||||||
client_list_append(&globalconf.clients, c);
|
client_list_append(&globalconf.clients, c);
|
||||||
|
@ -993,6 +990,7 @@ uicb_client_togglefloating(int screen __attribute__ ((unused)),
|
||||||
client_resize(sel, sel->f_geometry, False);
|
client_resize(sel, sel->f_geometry, False);
|
||||||
else if(sel->ismax)
|
else if(sel->ismax)
|
||||||
client_resize(sel, sel->m_geometry, False);
|
client_resize(sel, sel->m_geometry, False);
|
||||||
|
client_saveprops(sel);
|
||||||
globalconf.screens[sel->screen].need_arrange = True;
|
globalconf.screens[sel->screen].need_arrange = True;
|
||||||
widget_invalidate_cache(sel->screen, WIDGET_CACHE_CLIENTS);
|
widget_invalidate_cache(sel->screen, WIDGET_CACHE_CLIENTS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue