diff options
| author | Ryan Leavengood <leavengood@gmail.com> | 2012-07-29 21:10:47 -0400 |
|---|---|---|
| committer | Ryan Leavengood <leavengood@gmail.com> | 2012-07-29 21:13:09 -0400 |
| commit | f893514b87e2e9758529b835641cbf71107e468e (patch) | |
| tree | 20f9b9c14e572e1f6cfe2923bb66a9cfc137175f | |
| parent | e715eca04c1f99684b5972dd7db4514b56e37b60 (diff) | |
Remove custom Zoom method from Web+ which goes fullscreen.hrev44431
This leaves the default BWindow behavior of a maximized window.
Alt-Enter and F11 still will go fullscreen.
Fixes #7966.
| -rw-r--r-- | src/apps/webpositive/.BrowserWindow.h.swp | bin | 0 -> 20480 bytes | |||
| -rw-r--r-- | src/apps/webpositive/BrowserWindow.cpp | 7 | ||||
| -rw-r--r-- | src/apps/webpositive/BrowserWindow.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/apps/webpositive/.BrowserWindow.h.swp b/src/apps/webpositive/.BrowserWindow.h.swp Binary files differnew file mode 100644 index 0000000000..41a2ad32c5 --- /dev/null +++ b/src/apps/webpositive/.BrowserWindow.h.swp diff --git a/src/apps/webpositive/BrowserWindow.cpp b/src/apps/webpositive/BrowserWindow.cpp index 28cc4357e8..fa3aa55dd3 100644 --- a/src/apps/webpositive/BrowserWindow.cpp +++ b/src/apps/webpositive/BrowserWindow.cpp @@ -988,13 +988,6 @@ BrowserWindow::MenusBeginning() void -BrowserWindow::Zoom(BPoint origin, float width, float height) -{ - ToggleFullscreen(); -} - - -void BrowserWindow::ScreenChanged(BRect screenSize, color_space format) { if (fIsFullscreen) diff --git a/src/apps/webpositive/BrowserWindow.h b/src/apps/webpositive/BrowserWindow.h index fcae9d5f7b..36605aaaeb 100644 --- a/src/apps/webpositive/BrowserWindow.h +++ b/src/apps/webpositive/BrowserWindow.h @@ -96,7 +96,6 @@ public: virtual bool QuitRequested(); virtual void MenusBeginning(); - virtual void Zoom(BPoint origin, float width, float height); virtual void ScreenChanged(BRect screenSize, color_space format); virtual void WorkspacesChanged(uint32 oldWorkspaces, |
