[Vm-dev] [commit][3156]
display_hostWindowSetTitle should compare windowIndex to stParent,
not just stWindow
commits at squeakvm.org
commits at squeakvm.org
Fri Nov 28 20:17:44 UTC 2014
Revision: 3156
Author: rowledge
Date: 2014-11-28 12:17:38 -0800 (Fri, 28 Nov 2014)
Log Message:
-----------
display_hostWindowSetTitle should compare windowIndex to stParent, not just stWindow
Modified Paths:
--------------
branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c
Modified: branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c
===================================================================
--- branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c 2014-11-28 03:42:17 UTC (rev 3155)
+++ branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c 2014-11-28 20:17:38 UTC (rev 3156)
@@ -7065,11 +7065,9 @@
}
-
-//foo
static int display_hostWindowSetTitle(int windowIndex, char *newTitle, int sizeOfTitle)
{
- if (windowIndex != 1 && windowIndex != stParent)
+ if (windowIndex != 1 && windowIndex != stParent && windowIndex != stWindow)
return -1;
XChangeProperty(stDisplay, stParent,
More information about the Vm-dev
mailing list