if(Window->X + W < 0) Window->X = -W + 1;
if(Window->Y + H < 0) Window->Y = -H + 1;
+ if( Window->W == W && Window->H == H )
+ return 0;
+
Window->W = W; Window->H = H;
if(Window->RenderBuffer) {
if( !(Window->Flags & WINFLAG_SHOW) )
return ;
-// _SysDebug("Blit %p to (%i,%i) %ix%i", Window, Window->X, Window->Y, Window->RealW, Window->RealH);
+ _SysDebug("Blit %p (%p) to (%i,%i) %ix%i", Window, Window->RenderBuffer,
+ Window->X, Window->Y, Window->RealW, Window->RealH);
Video_Blit(Window->RenderBuffer, Window->X, Window->Y, Window->RealW, Window->RealH);
if( Window == gpWM_FocusedWindow && Window->CursorW )
Window->CursorW, Window->CursorH,
0x000000
);
-
}
for( child = Window->FirstChild; child; child = child->NextSibling )