summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-21 09:18:08 -0400
committerPietro Gagliardi <[email protected]>2014-10-21 09:18:08 -0400
commit9d951dc7326560f11cb99382fa0dd441e2ec4435 (patch)
tree2128ed3646875cb1ed973d52fa17d76cccf0ce22
parent604a07f6e7cc8d5da08590c796b836458e128eb3 (diff)
Removed a bunch of flicker from header resizing.
-rw-r--r--wintable/main.c7
1 files 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;
}