summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:32:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 21:32:46 (GMT)
commit6d2fe5390ea49a401459bd4e1adffe357db9b59c (patch)
tree646ef2213f4b8f36eb5ff5deb37ecefabeaa1a45 /win/tkWinWm.c
parent1163ef54c110e4a57ccf168d955da777bf7a3525 (diff)
parent9ea605f06bdde8beed71761774f09a632d2fb100 (diff)
downloadtk-6d2fe5390ea49a401459bd4e1adffe357db9b59c.zip
tk-6d2fe5390ea49a401459bd4e1adffe357db9b59c.tar.gz
tk-6d2fe5390ea49a401459bd4e1adffe357db9b59c.tar.bz2
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 1dd2bcd..45ccbe2 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3503,7 +3503,7 @@ WmCommandCmd(
wmPtr->cmdArgc = cmdArgc;
wmPtr->cmdArgv = cmdArgv;
if (!(wmPtr->flags & WM_NEVER_MAPPED)) {
- XSetCommand(winPtr->display, winPtr->window, cmdArgv, cmdArgc);
+ XSetCommand(winPtr->display, winPtr->window, (char **) cmdArgv, cmdArgc);
}
return TCL_OK;
}