[haiku-commits] haiku: hrev52242 - src/kits/interface

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 16 Aug 2018 16:30:52 -0400 (EDT)

hrev52242 adds 1 changeset to branch 'master'
old head: 4fced27d37d948f8358104c8e43d29a5160384fd
new head: 466b81b6c24fc1aa4d519bbef134a834f223de20
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=466b81b6c24f+%5E4fced27d37d9

----------------------------------------------------------------------------

466b81b6c24f: Window: Max-Zoom windows with Shift+Ctrl+Alt+Z
  
  Since hrev52136 holding Shift while clicking the zoom button will
  ignore the Deskbar and resize the window to take whole screen area
  (the original behavior).
  It'd be nice if the keyboard shortcut for zooming - Ctrl+Alt+Z
  recognized an additionally held Shift in the same way.
  
  Add shortcut to window.
  
  Fixes #14365
  
  Change-Id: I919ff2c3e8c41e022f8c675ea631daf18ff41eb3
  Reviewed-on: https://review.haiku-os.org/470
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52242
Commit:      466b81b6c24fc1aa4d519bbef134a834f223de20
URL:         https://git.haiku-os.org/haiku/commit/?id=466b81b6c24f
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Thu Aug 16 19:42:45 2018 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Thu Aug 16 20:30:48 2018 UTC

Ticket:      https://dev.haiku-os.org/ticket/14365

----------------------------------------------------------------------------

1 file changed, 2 insertions(+)
src/kits/interface/Window.cpp | 2 ++

----------------------------------------------------------------------------

diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp
index 32dc5b4edb..89afdff9b7 100644
--- a/src/kits/interface/Window.cpp
+++ b/src/kits/interface/Window.cpp
@@ -2922,6 +2922,8 @@ BWindow::_InitData(BRect frame, const char* title, 
window_look look,
                new BMessage(_MINIMIZE_), NULL);
        AddShortcut('Z', B_COMMAND_KEY | B_CONTROL_KEY,
                new BMessage(_ZOOM_), NULL);
+       AddShortcut('Z', B_SHIFT_KEY | B_COMMAND_KEY | B_CONTROL_KEY,
+               new BMessage(_ZOOM_), NULL);
        AddShortcut('H', B_COMMAND_KEY | B_CONTROL_KEY,
                new BMessage(B_HIDE_APPLICATION), NULL);
        AddShortcut('F', B_COMMAND_KEY | B_CONTROL_KEY,


Other related posts:

  • » [haiku-commits] haiku: hrev52242 - src/kits/interface - waddlesplash