After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 70071 - Need to be able to get to panel using keyboard
Need to be able to get to panel using keyboard
Status: RESOLVED FIXED
Product: Sawfish
Classification: Deprecated
Component: Window Manager
pre-1.3.x
Other Solaris
: Normal normal
: 1.5.x
Assigned To: John Harper
John Harper
Depends on:
Blocks: 53936
 
 
Reported: 2002-01-30 12:56 UTC by padraig.obriain
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description padraig.obriain 2002-01-30 12:56:06 UTC
We need a way to get focus to a panel and move from panel to panel using
the keyboard.

Currently the panel are not included when cycling through windows.
Comment 1 Gregory Merchan 2002-03-14 09:42:50 UTC
This can be fixed by changing the sawfish-internal definition of
a dock window.
Lines 326-332 of lisp/sawfish/wm/state/wm-spec.jl:

        (define-wm-spec-window-type
         '_NET_WM_WINDOW_TYPE_DOCK
         (lambda (w)
           (require 'sawfish.wm.stacking)
           (set-window-depth w dock-layer)
           (window-put w 'window-list-skip t)
           (window-put w 'cycle-skip t)))

The last window-put needs to be removed.
Comment 2 Gregory Merchan 2002-03-14 09:58:04 UTC
If binding a key is preferred over just putting the panel in the
cycling list, then this function should make that work:

(set-input-focus (car (delete-if-not (lambda (w) (= (window-class w)
"Panel")) (managed-windows))))

The panel uses globally active input, so setting the focus to any
of its windows should allow the panel client to select which
particular panel is focussed. That function will focus the first
one in the list of managed windows; i.e., it may as well be
arbitrary, but it doesn't matter because the panel must take
part in focus setting.
Comment 3 John Harper 2002-04-11 06:12:25 UTC
added cycle-dock and cycle-dock-backwards (but these won't by bound by
default, not in the standard sawfish distribution, anyway)