From f75975a90787e3b9b4d72385184dd3b886ac8bfa Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Mon, 23 Nov 2009 02:54:13 +0000 Subject: [PATCH] ShowImage : * Changing pictures using the arrow keys while being in a picture folder in tracker would quit the fullscreen mode (if you happen to be in that mode) because it tries to resize the window to fit the new picture. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34194 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 56c57f0318..b90446d470 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -631,7 +631,8 @@ ShowImageWindow::MessageReceived(BMessage *message) if (messageProvidesSize) { _UpdateResizerWindow(fWidth, fHeight); if (!fImageView->GetZoomToBounds() - && !fImageView->GetShrinkToBounds()) + && !fImageView->GetShrinkToBounds() + && !fFullScreen) WindowRedimension(fImageView->GetBitmap()); }