1999-07-22 04:40:35 +00:00
|
|
|
--- src/xi.c.orig Wed Dec 9 22:43:13 1998
|
|
|
|
+++ src/xi.c Thu Jul 22 12:34:14 1999
|
|
|
|
@@ -1056,19 +1056,25 @@
|
|
|
|
|
|
|
|
void switch_active_client( InmdState *state, Window cli_win )
|
|
|
|
{
|
|
|
|
+ int refresh = 1;
|
|
|
|
last_win = cli_win;
|
|
|
|
|
|
|
|
if ( ignore_cli_stat )
|
1999-08-19 09:19:30 +00:00
|
|
|
ignore_cli_stat = 0;
|
1999-07-22 04:40:35 +00:00
|
|
|
else
|
|
|
|
if ( state->_CurInMethod )
|
1999-08-19 09:19:30 +00:00
|
|
|
- memcpy( &inmdstate, state, sizeof( inmdstate ) );
|
1999-07-22 04:40:35 +00:00
|
|
|
+ if(memcmp(&inmdstate, state, sizeof( inmdstate)))
|
|
|
|
+ memcpy( &inmdstate, state, sizeof( inmdstate ) );
|
|
|
|
+ else
|
|
|
|
+ refresh = 0;
|
|
|
|
|
|
|
|
if ( hide_xcin && ( EngChi || HalfFull ) )
|
|
|
|
Show_Xcin();
|
|
|
|
else if ( hide_xcin && !EngChi && !HalfFull )
|
|
|
|
XUnmapWindow( display, main_win );
|
|
|
|
|
|
|
|
+ if(!refresh)
|
|
|
|
+ return;
|
|
|
|
gotoxy( 0, MROW - 1 );
|
|
|
|
|
|
|
|
ClrShowArea( 0 );
|