On Sat, Jun 11, 2011 at 07:44:21AM +0200, Andrea Vettorello wrote:
> On Fri, Jun 10, 2011 at 10:12 PM, Alan McConnell <alan patriot net> wrote:
>
> > Let me shoot for the following goal: I'd like to
> > place my mouse somewhere _inside_ the window, then
> > press on Meta(same as ESC, for sawfish as for Emacs,
> > right?) and then, pressing on e.g. Button1, be able
> > to drag the window around. If I can do this, then
> > I can get to the bottom of the window by shoving it
> > upward.
> >
> > Andrea, and probably many others, can give me the
> > exact instructions on how to do this. And that will
> > be my "Hello, World" moment in sawfish configuration!
> >
>
> The function you need to bind is "Move window interactively", the key
> should be "M-Button1-Click" (without quotes) and you should add it to
> the window context.
I did exactly that. As proof, see the Attached .png, which
seems to be the same as yours, at least as far as the "Move
window interactively" goes.
And I move my cursor to my open iceweasel, click once to raise
it. Then I hold the Esc key, and try to move the iceweasel window
by moving the mouse. Nothing happens.
Andrea, you are doubtless running out of patience. I am
starting to despair myself.
I give, below my .sawfish/custom file. Does it look
OK? I have written some Lisp code, using Bruno Haible's great
CLisp, but I am far from being a Lisp expert.
Thanks for all the help so far.
Alan
(start)--------------------------
;; sawfish user customization -- do not edit by hand!
;; sawfish version 1.3.5.2, written Sat Jun 11 08:27:43 2011
(custom-set-keymap (quote window-keymap) (quote (keymap (raise-and-pass-through-click . "Button1-Click") (move-window-interactively . "M-Button1-Click") (popup-window-menu . "W-Button2-Click") (raise-lower-window . "W-Button3-Click") (lower-window . "W-Down") (raise-window . "W-Up"))))
(custom-set-keymap (quote global-keymap) (quote (keymap (cycle-windows . "W-TAB") (next-workspace . "W-Right") (previous-workspace . "W-Left"))))
(custom-set-typed-variable (quote default-frame-style) (quote Crux) (quote frame-style))
(custom-set-typed-variable (quote focus-mode) (quote enter-only) (quote symbol))
(custom-set-typed-variable (quote focus-windows-when-mapped) (quote ()) (quote boolean))
(custom-set-typed-variable (quote default-font) (quote ("Pango" . "Sans 14")) (quote font))
(custom-set-typed-variable (quote focus-click-through) (quote ()) (quote boolean))
------------------------(finish)
--
Alan McConnell : http://patriot.net/users/alan
If you don't know your rights, you don't have any.
If it can't be abused, it's not freedom.
Attachment:
alan-sawficonfig.png
Description: PNG image