chengsun/gtk-npapi-vlc — comment on commit a9c669a32cb1a45b4a2166bbc6c120e106d31f5b
File: npapi/vlcshell.cpp line 352
By chengsun:

This is definitely correct behaviour. To quote the docs:

Subsequent calls to NPP_SetWindow indicate changes in *size or position*; these calls pass the same NPWindow object each time, but with different values.

This means that SetWindow is actually named misleadingly, it should be called even when the window hasn't changed.