[ Thread Index |
| More lists.tuxfamily.org/sawfish Archives
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] jump-or-exec
- From: D M German <dmg@xxxxxxx>
- Date: Fri, 11 Jan 2013 02:07:38 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:organization:reply-to:date :message-id:user-agent:mime-version:content-type; bh=J65T2/yWJ2XrhAw4+AyuBXls12PDFxAbHYDlD9K0+t0=; b=ZlhjNSv7jyOVxZpp6zc64GfP/jTL7YfmtgiKJAEPWxiaxzSzhwn18NDIcsYWbUf/ZB IFtVxKv25vmEhXeEzwrfD42fyYHPWQ7mkU/X9b7PN+RjxG6POw56V6t1Zm94ouZiEJh5 UZS2Sm9ht+yHHRn3JXZuMTxUxyEZLgNDst2M8StUJ1cUCnzptvxHZSp15AxOYGLLKf+n WkAiB9fdPZX/E9wPpmGqyRxiZ3LsCnQjJWpLsu9JQudTY2xvrpWaMFl1Vr16ewyV3VEW vIRpYAZwPncpTtfKKa3gZg9qTKd3lIQ8btdgq5i+9Qlpv8e29oPoWDTkikipqBkxA1Nv 3IDA==
- Organization: University of Victoria
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?
Daniel M. German "Research is what I'm doing
W. Von Braun -> when I don't know what I'm doing."
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .