Add wineconsole FIXME

Andreas Mohr andi at rhlx01.fht-esslingen.de
Wed Mar 5 07:01:39 CST 2003


Hi all,

wineconsole has problems with SetConsoleTitleA() when running with
CURSES backend.

Document that by adding a FIXME.

Any solution to that problem?

Andreas Mohr

Index: programs/wineconsole/curses.c
===================================================================
RCS file: /home/wine/wine/programs/wineconsole/curses.c,v
retrieving revision 1.6
diff -u -r1.6 curses.c
--- programs/wineconsole/curses.c	4 Mar 2003 02:13:05 -0000	1.6
+++ programs/wineconsole/curses.c	5 Mar 2003 12:59:20 -0000
@@ -127,6 +127,19 @@
  *		WCCURSES_SetTitle
  *
  * Sets the title to the wine console
+ *
+ * Big FIXME!
+ * Some programs do
+ * Call kernel32.SetConsoleTitleA(XXXXXXXX "some_identifier")
+ * Ret  kernel32.SetConsoleTitleA() retval=00000000
+ * <loop>
+ * Call user32.FindWindowA(00000000,XXXXXXXX "some_identifier")
+ * Ret  user32.FindWindowA() retval=00000000
+ * </loop>
+ *
+ * While this works for the USER wineconsole backend (it simply does
+ * a SetWindowText() to set the window text), the CURSES backend is
+ * totally lost here, as there's no window to set the title for :-\
  */
 static void	WCCURSES_SetTitle(const struct inner_data* data)
 {

-- 
Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany



More information about the wine-patches mailing list