Re: Draft 1.9c
- From: "Greg J. Badros" <gjb cs washington edu>
- To: raster rasterman com, wm-spec-list gnome org
- Cc: pdw ferret lmh ox ac uk
- Subject: Re: Draft 1.9c
- Date: 24 Nov 1999 15:47:01 -0800
raster@rasterman.com writes:
<snip>
> actually there is alreayd a machine name property as part of icccm:
> WM_CLIENT_MACHINE(STRING) = "raster.su.valinux.com"
>
> so u use this in combo with PID (which fills the missing link) and then
> the WM or taskbar or whatever can manage all apps that are onthe same
> machine - and even coudl spawn helper apps on the particular machine
> the app is running on (if it van do this) to try kill or whatevre its
> pid there... so as long as we have a machien name AND a PId -we're set
We actually can do this for legacy applications via the
"scwm_set_pid_property.so" module that comes in
scwm/utilities/pidproperty. Then you do:
LD_PRELOAD=$exec_prefix/scwm_set_pid_property.so xlogo
and the xlogo window gets its SCWM_RUNNING_PID property set to be its
process id. Scwm also provides a helper procedure, too:
(window-pid WINDOW)
The pid property stuff also lets you set another arbitrary Id which is
useful for reliably determining which execution of a process a popped-up
window corresponds to. (E.g., to be able to treat a single start of an
application differently in the window manager, w/o affecting its X
resource name or titlebar name).
Greg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]