Re: [dev] [st] [PATCH] Support for _NET_WM_PID

2013-12-10 Thread Roberto E. Vargas Caballero
> xw.netwmname = XInternAtom(xw.dpy, "_NET_WM_NAME", False); > XSetWMProtocols(xw.dpy, xw.win, &xw.wmdeletewin, 1); > > + if (!pid) > + pid = getpid(); > + xw.netwmpid = XInternAtom(xw.dpy, "_NET_WM_PID", False); > + XChangeProperty(xw.dpy, xw.win, xw.netwmpid,

[dev] [st] [PATCH] Support for _NET_WM_PID

2013-12-10 Thread Eric Pruitt
I created a patch to support _NET_WM_PID so st's PID would show up when using wmctrl -p. Eric >From ffdc5e0c3319d629a47f591f1220350a161c83de Mon Sep 17 00:00:00 2001 From: Eric Pruitt Date: Tue, 10 Dec 2013 23:32:06 -0600 Subject: [PATCH] Set _NET_WM_PID attribute --- st.c |8 +++- 1 fi

Re: [dev] [surf] view local file

2013-12-10 Thread Nick
> loaduri function in surf includes the following lines: Knew I'd seen it somewhere! Thanks Eon.

Re: [dev] [surf] view local file

2013-12-10 Thread Nick
On Tue, Dec 10, 2013 at 06:21:07PM +0100, Markus Teich wrote: > Dmitrij D. Czarkoff wrote: > > "file:///home/user/example.html" works for me. > > Ah, thanks. I did not try absolute paths. IIRC file://./example.html works too. I thought I remember a patch going in to surf that checked for a local

Re: [dev] [surf] view local file

2013-12-10 Thread Eon S. Jeon
On Tue, 10 Dec 2013 17:30:10 +0100 Markus Teich wrote: > Heyho, > > this morning I wondered how to open a file from the filesystem in > surf, but neither "file://" nor "file:///" did work. Is it even > possible? Thanks. > > --Markus > Hello loaduri function in surf includes the following lin

Re: [dev] [surf] view local file

2013-12-10 Thread Markus Teich
Dmitrij D. Czarkoff wrote: > "file:///home/user/example.html" works for me. Ah, thanks. I did not try absolute paths. --Markus

Re: [dev] [surf] view local file

2013-12-10 Thread Dmitrij D. Czarkoff
Markus Teich wrote: >Heyho, > >this morning I wondered how to open a file from the filesystem in surf, >but >neither "file://" nor "file:///" did work. Is it even possible? >Thanks. > >--Markus "file:///home/user/example.html" works for me. -- Dmitrij D. Czarkoff

[dev] [surf] view local file

2013-12-10 Thread Markus Teich
Heyho, this morning I wondered how to open a file from the filesystem in surf, but neither "file://" nor "file:///" did work. Is it even possible? Thanks. --Markus