summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
Diffstat (limited to 'o3d')
-rw-r--r--o3d/plugin/win/main_win.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/o3d/plugin/win/main_win.cc b/o3d/plugin/win/main_win.cc
index f8c6d20..7d6ec75 100644
--- a/o3d/plugin/win/main_win.cc
+++ b/o3d/plugin/win/main_win.cc
@@ -836,11 +836,6 @@ NPError NPP_SetWindow(NPP instance, NPWindow *window) {
// Avoid spurious resize requests.
if (window->width != obj->width() ||
window->height != obj->height()) {
- if (!obj->fullscreen()) {
- ::SetWindowPos(obj->GetContentHWnd(), obj->GetPluginHWnd(), 0, 0,
- window->width, window->height,
- SWP_NOZORDER | SWP_NOREPOSITION);
- }
// Even if we are in full-screen mode, store off the new width
// and height to restore to them later.
obj->Resize(window->width, window->height);