properly behave in case the console window became active

VER-2-0-4-PATCH
Just van Rossum 25 years ago
parent 7eef5364b8
commit 1eabbcb453
  1. 5
      demos/graph/mac/grmac.c

@ -198,6 +198,7 @@
case updateEvt:
if ( theWindow && (WindowPtr)mac_event.message == theWindow )
{
SetPort( theWindow );
BeginUpdate( theWindow );
refresh_rectangle( surface,
0, 0,
@ -231,6 +232,10 @@
return;
}
}
else if (part == inContent)
{
SelectWindow( theWindow );
}
}
else
{

Loading…
Cancel
Save