[Curses] Allow program to resize the xterm window (3/5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
- Allow the program to resize the xterm window
diff -ur wine-20031016/programs/wineconsole/wineconsole.c wine-my/programs/wineconsole/wineconsole.c
--- wine-20031016/programs/wineconsole/wineconsole.c	2003-10-15 23:01:05.000000000 +0200
+++ wine-my/programs/wineconsole/wineconsole.c	2003-10-22 15:41:03.000000000 +0200
@@ -245,7 +245,7 @@
 	    continue;
 	}
 
-	if (ev_found != -1 &&
+	if (ev_found != -1 &&  /* Only 2 cases where they can NOT merge */
 	    !(evts[i       ].u.update.bottom + 1 < evts[ev_found].u.update.top ||
 	      evts[ev_found].u.update.bottom + 1 < evts[i       ].u.update.top))
 	{
@@ -264,8 +264,10 @@
 	switch (evts[i].event)
 	{
 	case CONSOLE_RENDERER_NONE_EVENT:
+	    WINE_TRACE(" NOP");
 	    break;
 	case CONSOLE_RENDERER_TITLE_EVENT:
+	    WINE_TRACE(" title()");
 	    data->fnSetTitle(data);
 	    break;
 	case CONSOLE_RENDERER_ACTIVE_SB_EVENT:

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux