Merge branch 'master' of github.com:xorg62/wmfs
This commit is contained in:
commit
1585802bf0
@ -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);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user