Ticket #7590: 0001-Fix-7590-Correct-frame-size-in-fullscreen.patch

File 0001-Fix-7590-Correct-frame-size-in-fullscreen.patch, 810 bytes (added by Janus, 7 years ago)
  • src/apps/showimage/ShowImageWindow.cpp

    From e162e6a695262482685028af63f9c9b1033cdfb1 Mon Sep 17 00:00:00 2001
    From: Janus <janus2@ymail.com>
    Date: Sat, 4 Jan 2014 17:18:34 +0000
    Subject: [PATCH] Fix #7590: Correct frame size in fullscreen
    
    ---
     src/apps/showimage/ShowImageWindow.cpp | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp
    index fbd6a54..e224ab5 100644
    a b ShowImageWindow::_ToggleFullScreen()  
    12641264        frame.top -= fBar->Bounds().Height() + 1;
    12651265        frame.right += B_V_SCROLL_BAR_WIDTH;
    12661266        frame.bottom += B_H_SCROLL_BAR_HEIGHT;
    1267         frame.InsetBy(-1, -1); // PEN_SIZE in ShowImageView
    12681267
    12691268        SetFlags(Flags() | B_NOT_RESIZABLE | B_NOT_MOVABLE);
    12701269