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 <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
4fced27d37
commit
466b81b6c2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user