From 9d951dc7326560f11cb99382fa0dd441e2ec4435 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 21 Oct 2014 09:18:08 -0400 Subject: [PATCH] Removed a bunch of flicker from header resizing. --- wintable/main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/wintable/main.c b/wintable/main.c index 7eea3ea..c7a8956 100644 --- a/wintable/main.c +++ b/wintable/main.c @@ -451,12 +451,9 @@ abort();} case WM_NOTIFY: if (nmhdr->hwndFrom == t->header) switch (nmhdr->code) { - // TODO are any of these redundant? - case HDN_BEGINTRACK: - case HDN_TRACK: - case HDN_ENDTRACK: + // I could use HDN_TRACK but wine doesn't emit that case HDN_ITEMCHANGING: - case HDN_ITEMCHANGED: + case HDN_ITEMCHANGED: // TODO needed? redrawAll(t); return FALSE; }