Hi,
in gtk lxpanel there's a plugin (src/plugins/launchtaskbar.c) that has
a basic matching from X window -> pid -> exec command -> .desktop file,
look at
static void launchbar_update_after_taskbar_class_added(LaunchTaskBarPlugin
*ltbp, Task *tk)
{
GPid pid = get_net_wm_pid(tk->win);
...
f_find_menu_launchbutton_recursive(tk->exec_bin)
...
}
maybe this could be moved to library libfm, ask Andrij for this.
Cheers,
Giuseppe.
On Mon, Mar 3, 2014 at 9:37 AM, Damian Ivanov <damianator...@gmail.com>wrote:
> Hi all,
>
> little question, is there some function in libqtxdg so I can match a X
> window Id (and/or Wayland window) to the corresponding .desktop file?
>
> Thanks in advance!
> Damian
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries. Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxde-list mailing list
> Lxde-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxde-list
>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list