bugfix: fix wrong cursor in mouseresize

This commit is contained in:
Julien Danjou 2007-10-10 18:21:48 +02:00
parent 9aa1621943
commit a04ce1f4ef
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ resizemouse(Client * c, awesome_config *awesomeconf)
nw = 1; nw = 1;
if((nh = ev.xmotion.y - ocy - 2 * c->border + 1) <= 0) if((nh = ev.xmotion.y - ocy - 2 * c->border + 1) <= 0)
nh = 1; nh = 1;
resize(c, c->x, c->y, nw, nh, awesomeconf, True); resize(c, c->x, c->y, nw, nh, &awesomeconf[c->screen], True);
break; break;
} }
} }
@ -216,7 +216,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
uicb_togglefloating(e->xany.display, &awesomeconf[c->screen], NULL); uicb_togglefloating(e->xany.display, &awesomeconf[c->screen], NULL);
else else
restack(e->xany.display, &awesomeconf[c->screen]); restack(e->xany.display, &awesomeconf[c->screen]);
resizemouse(c, &awesomeconf[c->screen]); resizemouse(c, awesomeconf);
} }
else if(ev->button == Button4) else if(ev->button == Button4)
uicb_settrans(e->xany.display, &awesomeconf[c->screen], "+5"); uicb_settrans(e->xany.display, &awesomeconf[c->screen], "+5");