Merge branch 'master' of github.com:xorg62/wmfs

This commit is contained in:
Martin Duquesnoy 2012-01-18 12:37:35 +01:00
commit 1585802bf0
2 changed files with 4 additions and 9 deletions

View File

@ -93,15 +93,10 @@ event_configureevent(XEvent *e)
if((c = client_gb_win(ev->window)))
{
/* if(ev->value_mask & CWX)
c->geo.x = ev->x;
if(ev->value_mask & CWY)
c->geo.y = ev->y; */
if(ev->value_mask & CWWidth)
_fac_resize(c, Right, (ev->width - (c->geo.w - c->border - c->border)));
_fac_resize(c, Right, ev->width - c->wgeo.w);
if(ev->value_mask & CWHeight)
_fac_resize(c, Bottom, (ev->height - (c->geo.h - c->tbarw)));
_fac_resize(c, Bottom, ev->height - c->wgeo.h);
client_apply_tgeo(c->tag);
}

View File

@ -73,7 +73,7 @@ static struct tag*
mouse_drag_tag(struct client *c, Window w)
{
struct barwin *b;
struct tag *t;
struct tag *t = NULL;
Window rw;
int d, u;
@ -93,7 +93,7 @@ void
mouse_move(struct client *c, bool type)
{
struct client *c2 = NULL, *last = c;
struct tag *t;
struct tag *t = NULL;
XEvent ev;
Window w;
int d, u;