summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:24:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-08 11:24:02 (GMT)
commite68d114c24b86c56fc9ddadb2b99dbbaf3445f23 (patch)
tree965b1bd71ecca75359627875aac47590c338e148
parent7bec4099c70b8fd5cc9e269e5bf6c7870f45b47a (diff)
downloadtk-e68d114c24b86c56fc9ddadb2b99dbbaf3445f23.zip
tk-e68d114c24b86c56fc9ddadb2b99dbbaf3445f23.tar.gz
tk-e68d114c24b86c56fc9ddadb2b99dbbaf3445f23.tar.bz2
(cherry-pick) Fixed bug [1305128] - Scrollbar doesn't receive event
-rw-r--r--generic/tkScrollbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkScrollbar.c b/generic/tkScrollbar.c
index 3fff58d..ba42c20 100644
--- a/generic/tkScrollbar.c
+++ b/generic/tkScrollbar.c
@@ -627,6 +627,8 @@ TkScrollbarEventProc(
TkScrollbarEventuallyRedraw(scrollPtr);
}
}
+ } else if (eventPtr->type == MapNotify) {
+ TkScrollbarEventuallyRedraw(scrollPtr);
}
}