[ekg2-commit] ekg2: windows.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Wto, 16 Paź 2007, 20:33:18 CEST


Module name:	ekg2
Changes by:	peres	2007-10-16 20:33:15

Modified files:
	windows.c

Log message:
Forgotten commit; emit UI_WINDOW_SWITCH before turning off activity;
i.e. let ncurses fetch it.

Index: windows.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/windows.c,v
diff -d -u -r1.90 -r1.91
--- windows.c	8 Oct 2007 08:39:35 -0000	1.90
+++ windows.c	16 Oct 2007 18:33:15 -0000	1.91
@@ -209,6 +209,7 @@
 			session_current = w->session;
 	
 		window_current = w;
+		query_emit_id(NULL, UI_WINDOW_SWITCH, &w);	/* XXX */
 
 		w->act &= ~3;
 		if (w->target && w->session && (u=userlist_find(w->session, w->target)) && (u->xstate & EKG_XSTATE_BLINK)) 
@@ -225,8 +226,6 @@
 			}
                 }
 
-		query_emit_id(NULL, UI_WINDOW_SWITCH, &w);	/* XXX */
-
 		if (!w->id)
 			w->session = session_current;
 


Więcej informacji o liście dyskusyjnej ekg2-commit