fixed bug reported by bogon (just curios that wmii didn't crashed)

This commit is contained in:
Anselm R. Garbe 2006-05-29 15:25:32 +02:00
parent f4f392d29f
commit ff7b72fe21
1 changed files with 2 additions and 2 deletions

View File

@ -421,7 +421,7 @@ void
do_mouse_resize(Client *c, BlitzAlign align)
{
int px = 0, py = 0, i, ox, oy;
Window dummy, opaque;
Window dummy;
XEvent ev;
unsigned int dmask;
unsigned int num = 0;
@ -446,7 +446,7 @@ do_mouse_resize(Client *c, BlitzAlign align)
XMaskEvent(dpy, MouseMask | ExposureMask, &ev);
switch (ev.type) {
case ButtonRelease:
XClearWindow(dpy, opaque);
draw_xor_border(&frect);
if(aidx)
resize_column(c, &frect, nil);
else