forked from minhngoc25a/freetype2
properly behave in case the console window became active
This commit is contained in:
parent
7eef5364b8
commit
1eabbcb453
|
@ -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…
Reference in New Issue