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)
commit8949d8b37009d2dd0f9a410577f95d19d3419353 (patch)
treefa0c69ccba767519a0396be600b2216d4c4224c4 /generic
parent6f43610172ef499ef09197cc5e0adf3582360a5c (diff)
parentcaca7822e575fd0943b0e41f85ffccfa37f02690 (diff)
downloadtk-8949d8b37009d2dd0f9a410577f95d19d3419353.zip
tk-8949d8b37009d2dd0f9a410577f95d19d3419353.tar.gz
tk-8949d8b37009d2dd0f9a410577f95d19d3419353.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: