Hi everybody,
When trying to create a new window using a command (gnome-terminal), how
do I get the window identifier of the window?
I am doing the following:
;; create window
(jump-or-exec "decker" "/home/dmg/bin/decker.sh" nil)
;; make it sticky
(make-window-sticky (get-window-by-name "decker"))
But... jump-or-exec does execute the window, but now that window is
"being" created while I continue executing this code. The window does
not exist by the time (get-window-by-name "decker") gets executed (it
exists later, I have tested). If I put a (sleep-for <few seconds>)
sawfish stops, but that does not fix the problem.
any ideas how can I wait after the exec before I ask for the window that
was just recently created?
thanks!
--
Daniel M. German "Research is what I'm doing
W. Von Braun -> when I don't know what I'm doing."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
--
Sawfish ML