mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Clear OOP CGContext for transparent plug-ins. b=557534 r=josh
--HG-- extra : rebase_source : 267e6db3a94758cc2834e5f48baf759bbaad1566
This commit is contained in:
parent
903db0b614
commit
b53f0597df
@ -625,6 +625,8 @@ PluginInstanceChild::AnswerNPP_HandleEvent_Shmem(const NPRemoteEvent& event,
|
||||
return true;
|
||||
}
|
||||
}
|
||||
CGRect clearRect = ::CGRectMake(0, 0, mWindow.width, mWindow.height);
|
||||
::CGContextClearRect(mShContext, clearRect);
|
||||
evcopy.data.draw.context = mShContext;
|
||||
} else {
|
||||
PLUGIN_LOG_DEBUG(("Invalid event type for AnswerNNP_HandleEvent_Shmem."));
|
||||
|
Loading…
Reference in New Issue
Block a user