[haiku-commits] haiku: hrev50127 - src/apps/workspaces

  • From: "" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "humdingerb" for DMARC)
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 6 Mar 2016 08:49:35 +0100 (CET)

hrev50127 adds 1 changeset to branch 'master'
old head: db9f2c277634389fadc431d02e5ab94a6a9d27d0
new head: 5f73d5000dcb7b543b833bce3bc76cd51442e1d5
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=5f73d5000dcb+%5Edb9f2c277634

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

5f73d5000dcb: Close Workspaces window with ESC
  
  As discussed on the ML [1].
  Try making the Workspaces window really big, hide window tab and border,
  assign CTL + ^ to the Workspaces applet. Now you can quickly summon the
  applet with CTRL + ^ and equally quickly dismiss it with ESC.
  
  [1] 
//www.freelists.org/post/haiku-development/Close-Workspaces-applet-with-ESC

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

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

Revision:    hrev50127
Commit:      5f73d5000dcb7b543b833bce3bc76cd51442e1d5
URL:         http://cgit.haiku-os.org/haiku/commit/?id=5f73d5000dcb
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Sun Mar  6 07:41:11 2016 UTC

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

1 file changed, 2 insertions(+), 1 deletion(-)
src/apps/workspaces/Workspaces.cpp | 3 ++-

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

diff --git a/src/apps/workspaces/Workspaces.cpp 
b/src/apps/workspaces/Workspaces.cpp
index 3c3d6bf..6744c77 100644
--- a/src/apps/workspaces/Workspaces.cpp
+++ b/src/apps/workspaces/Workspaces.cpp
@@ -675,7 +675,8 @@ WorkspacesWindow::WorkspacesWindow(WorkspacesSettings 
*settings)
        :
        BWindow(settings->WindowFrame(), B_TRANSLATE_SYSTEM_NAME("Workspaces"), 
                B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
-               B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK, B_ALL_WORKSPACES),
+               B_AVOID_FRONT | B_WILL_ACCEPT_FIRST_CLICK | B_CLOSE_ON_ESCAPE,
+               B_ALL_WORKSPACES),
        fSettings(settings),
        fAutoRaising(false),
        fSwitchOnWheel(false)


Other related posts:

  • » [haiku-commits] haiku: hrev50127 - src/apps/workspaces