Revision: 3155
Author: rowledge
Date: 2014-11-27 19:42:17 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
display_hostWindowSetTitle should compare windowIndex to stParent, not stWindow. It to handle more than just the one main window, too. THat's for somebody that actually know X programming.
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 00:08:50 UTC (rev 3154)
+++ branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c 2014-11-28 03:42:17 UTC (rev 3155)
@@ -7065,9 +7065,11 @@
}
+
+//foo
static int display_hostWindowSetTitle(int windowIndex, char *newTitle, int sizeOfTitle)
{
- if (windowIndex != 1 && windowIndex != stWindow)
+ if (windowIndex != 1 && windowIndex != stParent)
return -1;
XChangeProperty(stDisplay, stParent,