[Sawfish] Beginner Problem

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


I just found Sawfish earlier this week, and after reading through some
of the info pages I thought I would write a function to resize my Emacs
window when I opened emacsclient. However, I don't know how to make this
happen. Here is what I have (in my .sawfishrc), I just don't know how to make it latch into
the window creation hooks:

(defun resize-emacs-window ()
  (let ((emacs (get-window-by-name "emacs@arch-twily")))
    (resize-window-with-hints emacs 87 38)
    (move-window-to emacs 449 0)))


-Zac

-- 
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/