Package: sawfish
Version: 1:1.3+cvs20061004-1
Severity: normal
Tags: patch

I found out that (select-workspace-and-viewport ws x y) performs the
workspace change (to ws) but ignores the viewport change (to x and
y). It is clearly visible in the pager, as one needs to click twice if
you want to change workspace and viewport at the same time, but only
once if you change viewport, staying in a workspace. Pager calls a
different function for each of the two cases, so two clicks is "ws
change with vp (vp part fails) cmd + plain vp change cmd".

I think I found the problem, and it can be fixed while running, with
sawfish-client, just type:

---8<---
,in sawfish.wm.workspace
(define (select-workspace space #!optional dont-focus inner-thunk)
 (select-workspace* space #:dont-focus dont-focus #:inner-thunk inner-thunk))
--->8---

This overrides the original function to one that makes sure the
dont-focus and inner-thunk are key params as expected by
select-workspace* (they are after #!key in it's define). I already
changed my local workspace.jl file with this (line 494, just add the
#:foo), and it works.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages sawfish depends on:
ii  libatk1.0-0          1.12.4-2            The ATK accessibility toolkit
ii  libaudiofile0        0.2.6-6             Open-source version of SGI's audio
ii  libc6                2.3.6.ds1-13        GNU C Library: Shared libraries
ii  libcairo2            1.2.4-4             The Cairo 2D vector graphics libra
ii  libesd0              0.2.36-3            Enlightened Sound Daemon - Shared 
ii  libfontconfig1       2.4.2-1.2           generic font configuration library
ii  libglib2.0-0         2.12.6-2            The GLib library of C routines
ii  libgmp3c2            2:4.2.1+dfsg-4      Multiprecision arithmetic library
ii  libgtk2.0-0          2.8.20-7            The GTK+ graphical user interface 
ii  libice6              1:1.0.1-2           X11 Inter-Client Exchange library
ii  libpango1.0-0        1.14.8-5            Layout and rendering of internatio
ii  librep9              0.17+svn20070119-3  lisp command interpreter
ii  libsm6               1:1.0.1-3           X11 Session Management library
ii  libx11-6             2:1.0.3-5           X11 client-side library
ii  libxcursor1          1.1.7-4             X cursor management library
ii  libxext6             1:1.0.1-2           X11 miscellaneous extension librar
ii  libxfixes3           1:4.0.1-5           X11 miscellaneous 'fixes' extensio
ii  libxft2              2.1.8.2-8           FreeType-based font drawing librar
ii  libxi6               1:1.0.1-4           X11 Input extension library
ii  libxinerama1         1:1.0.1-4.1         X11 Xinerama extension library
ii  libxrandr2           2:1.1.0.2-5         X11 RandR extension library
ii  libxrender1          1:0.9.1-3           X Rendering Extension client libra
ii  rep-gtk              0.18.cvs20060518-2  GTK binding for librep
ii  sawfish-data         1:1.3+cvs20061004-1 sawfish architecture independent d
ii  xterm [x-terminal-em 224-1               X terminal emulator

sawfish recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to