also saves real coords in floating layout

This commit is contained in:
Julien Danjou 2007-10-27 09:02:48 +02:00
parent 001f430c0c
commit ddfc087c99

View file

@ -437,7 +437,7 @@ client_resize(Client *c, int x, int y, int w, int h, awesome_config *awesomeconf
c->y = wc.y = y;
c->w = wc.width = w;
c->h = wc.height = h;
if(c->isfloating)
if(c->isfloating || get_current_layout(awesomeconf->tags, awesomeconf->ntags)->arrange == layout_floating)
{
c->rx = c->x;
c->ry = c->y;