@@ -8476,7 +8476,8 @@ int la_ProcessSysMessage(){
case Expose:
wnd = lstFindItem(e.xexpose.window, la_IsThisSysWindow, &MAIN.Windows);
if(!wnd) break;
- laRefreshWindow(wnd);
+ MAIN.CurrentWindow=wnd;
+ laRefreshWindow();
break;
case MotionNotify:
la_SendMouseEvent(e.xmotion.window, LA_MOUSEMOVE, e.xmotion.x,e.xmotion.y);