Re: send-to-workspace and go there
- From: Mario Domenech Goulart <mario inf ufrgs br>
- To: Kin Cho <kcho fabric7 com>
- Cc: sawfish-list gnome org
- Subject: Re: send-to-workspace and go there
- Date: Thu, 21 Oct 2004 01:21:35 -0200
Hi,
On 20 Oct 2004 14:30:32 -0700 Kin Cho <kcho fabric7 com> wrote:
> I want to bind keys make a window goto a workspace and also
> select that workspace. The following doesn't work for me:
>
> (bind-keys
> window-keymap
> "M-F1" (lambda () (send-to-workspace 1) (select-workspace 0))
> "M-F2" (lambda () (send-to-workspace 2) (select-workspace 1))
>
> Any idea why?
The send-to-workspace function doesn't seem to be exported by the
sawfish.wm.workspace structure (just checked out from CVS). Is it
intentional? The same happens with copy-to-workspace, as far as I could
see.
Exporting send-to-workspace from sawfish.wm.workspace seem to make it
work.
PS: there's a syntax problem in your bind-keys code -- a closing
parentheses is missing.
(bind-keys
window-keymap
"M-F1" (lambda () ((send-to-workspace 1) (select-workspace 0)))
"M-F2" (lambda () ((send-to-workspace 2) (select-workspace 1))))
Regards,
Mario
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]