Commit 09b6e48b authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

npapi: do not call VlcPluginBase::setWindow when parent window did not changed.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 05e434d0
......@@ -351,7 +351,6 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
} else {
if (window->window == curr_window.window) {
/* resize / move notification */
p_plugin->setWindow(*window);
p_plugin->resize_windows();
} else {
/* we've already been created, but
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment