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,
On 28.11.2014, at 04:42, commits@squeakvm.org wrote:
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.
I'd think it should look for both stParent and stWindow? And 1, obviously.
- Bert -
vm-dev@lists.squeakfoundation.org