Starting apps on the correct desktop with S/N
Jasper Huijsmans
jasper at xfce.org
Wed Jun 22 23:17:53 CEST 2005
Op wo, 22-06-2005 te 11:00 -0700, schreef Brian J. Tarricone:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Olivier FOURDAN wrote:
> > Hi Brian,
> >
> >>Hmm, I added it to xfce_exec(), and it doesn't seem to do anything.
> >>I've verified that it's getting the correct active workspace, and then I
> >>switch to another workspace, and it appears on the new workspace instead
> >>of the old one. At least this is for launching bot Xfmedia and
> >>Terminal, both which should support SN properly. Is there anything
> >>special that needs to be done on the "launchee" side?
> >
> > Best would be to commit what you've done so we can share it and see by
> > ourself (there might some adjustments to do with the WM too, but as it
> > wasn't implemented until now, it has never been really tested either)
>
> Mmm, good idea; I meant to include a patch, but I forgot. Ok,
> committed. This isn't a final implementation. I just get the workspace
> number using the Netk stuff, which I want to replace with grabing the
> appropriate netwm root window property, since netk_screen_force_update()
> is pretty expensive, IIRC.
>
> On a side note, does anyone know if this is supported with
> libstartup-notification 0.5? If it was added more recently, we'll have
> to bump the version requirement...
>
At least I can confirm it doesn't work (libstartup-notification 0.8).
Yeah, very useful, I know.
Jasper
More information about the Xfce4-dev
mailing list