summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-04-29 09:46:18 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-04-29 09:46:18 (GMT)
commit70681aa493a6797de664f362a85ec6d6cd2268c3 (patch)
treefa0c69ccba767519a0396be600b2216d4c4224c4 /generic
parent5249be2c0dc282824a1f487d18d62f0bc02c3ad0 (diff)
parentdbda3d1f347c441a31859af78be708bf252c105d (diff)
downloadtk-70681aa493a6797de664f362a85ec6d6cd2268c3.zip
tk-70681aa493a6797de664f362a85ec6d6cd2268c3.tar.gz
tk-70681aa493a6797de664f362a85ec6d6cd2268c3.tar.bz2
Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peers
Diffstat (limited to 'generic')
-rw-r--r--generic/tkText.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 8b94ab7..0a7ae37 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -5215,7 +5215,10 @@ TextEditCmd(
*/
if ((!oldModified) != (!setModified)) {
- GenerateModifiedEvent(textPtr);
+ for (textPtr = textPtr->sharedTextPtr->peers; textPtr != NULL;
+ textPtr = textPtr->next) {
+ GenerateModifiedEvent(textPtr);
+ }
}
break;
case EDIT_REDO: