From ff7b72fe21701a8d17df1455359433fa442fa622 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 29 May 2006 15:25:32 +0200 Subject: [PATCH] fixed bug reported by bogon (just curios that wmii didn't crashed) --- cmd/wm/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/wm/mouse.c b/cmd/wm/mouse.c index e16b3403..4991763c 100644 --- a/cmd/wm/mouse.c +++ b/cmd/wm/mouse.c @@ -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