summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-24 20:59:46 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-24 20:59:46 (GMT)
commit897b49ab9d4dee6d1c2b452063477c6d79b0c181 (patch)
tree0d2a299dbd784e0ee28eddd73a7ed12bdaa85b9d /win/tkWinWm.c
parentb608245415a5e7e58008bf2d798c324d5b876d9d (diff)
downloadtk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.zip
tk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.tar.gz
tk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.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 ac4ea34..32768cf 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3284,7 +3284,7 @@ WmCommandCmd(tkwin, winPtr, interp, objc, objv)
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;
}