[hackers] [tabbed][PATCH] Use PWD xprop to set workdir for spawned clients

2020-06-11 Thread Nikita Zlobin
workdir could be got from active client via xprop, then set for spawned client. Terminals can pass it with xprop -id ${WINDOWID} command from hook, created for PWD change. Setting up hook depends on what shell is used. For bash it's doable either via cd() function or PROMPT_COMMAND. Example bash

[hackers] [dmenu] Fix memory leaks in drw || Hiltjo Posthuma

2020-06-11 Thread git
commit 9b38fda6feda68f95754d5b8932b1a69471df960 Author: Hiltjo Posthuma AuthorDate: Thu Jun 11 18:45:33 2020 +0200 Commit: Hiltjo Posthuma CommitDate: Thu Jun 11 18:45:33 2020 +0200 Fix memory leaks in drw Synced from dwm. Patch by Alex Flierl , thanks. diff --git

Re: [hackers] [dwm][PATCH] Fix memory leaks in drw

2020-06-11 Thread Hiltjo Posthuma
On Thu, Jun 11, 2020 at 03:28:32PM +0200, Alex Flierl wrote: > The function drw_fontset_free in drw.c was never called. > --- > drw.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drw.c b/drw.c > index 8fd1ca4..4cdbcbe 100644 > --- a/drw.c > +++ b/drw.c > @@ -95,6 +95,7 @@

[hackers] [dwm] Fix memory leaks in drw || Alex Flierl

2020-06-11 Thread git
commit f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2 Author: Alex Flierl AuthorDate: Thu Jun 11 15:28:32 2020 +0200 Commit: Hiltjo Posthuma CommitDate: Thu Jun 11 18:32:21 2020 +0200 Fix memory leaks in drw The function drw_fontset_free in drw.c was never called. diff --git

Re: [hackers] [dwm][patch] Make EWMH windows float

2020-06-11 Thread Hiltjo Posthuma
On Sun, Jun 07, 2020 at 08:36:57PM +0200, Jakub Leszczak wrote: > Hi, > > What is the status of this patch? I do not see it being added to the > mainline, nor any new messages for some time. > > Br, > Jakub Leszczak > Hi Jakub, Can you send the last version one more time? The last sent

[hackers] [dwm][PATCH] Fix memory leaks in drw

2020-06-11 Thread Alex Flierl
The function drw_fontset_free in drw.c was never called. --- drw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drw.c b/drw.c index 8fd1ca4..4cdbcbe 100644 --- a/drw.c +++ b/drw.c @@ -95,6 +95,7 @@ drw_free(Drw *drw) { XFreePixmap(drw->dpy, drw->drawable);

[hackers] [dwmstatus][PATCH] gettemperature: fix memory leak

2020-06-11 Thread Alex Flierl
--- dwmstatus-temperature.c | 6 +- dwmstatus.c | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dwmstatus-temperature.c b/dwmstatus-temperature.c index 13f27f6..793c723 100644 --- a/dwmstatus-temperature.c +++ b/dwmstatus-temperature.c @@ -6,10 +6,14 @@

[hackers][dwm][PATCH] Xresources

2020-06-11 Thread Mela Udaburisa
This is a port of st Xresources patch. In addition to colors it can also handle settings that accept integers and floats as values. Settings should be added to resources[] struct in config file like this: { "Name", Type, }, Example: { "nmaster",INTEGER, }, Name of the

[hackers] [tabbed][PATCH] Fix clients blinking on tabbar cleanup

2020-06-11 Thread Nikita Zlobin
If tabbar had many windows, when closed itself, reparented clients may occasionally appear on their own for moment before to disappear. Unmapping before reparent seems to fix this. And killclient() by index if possible to avoid tinker with focus. --- tabbed.c | 27 +-- 1

[hackers] [dwm][PATCH] xtile updated for 6.2

2020-06-11 Thread Mela Udaburisa
that's it. dwm-xtile-6.2.diff Description: Binary data

[hackers] [tabbed][PATCH] Use utf8 for window properties

2020-06-11 Thread Nikita Zlobin
At least some desktop tools (non-mainstream) are in trouble with tabbed window name. At the moment of try I have only tint2 and rofi. First just showes intitled, but second - "Invalid encoding". Though xfwm4 has no problem with compound text names. As for other properties - utf8 still looks

Re: [hackers] [tabbed][PATCH] Use utf8 for window name

2020-06-11 Thread Nikita Zlobin
In Thu, 11 Jun 2020 08:47:09 +0200 Laslo Hunhold wrote: > On Thu, 11 Jun 2020 11:42:40 +0500 > Nikita Zlobin wrote: > > Dear Nikita, > > > One more reason to propose utf. I have read this to better > > understand Xft: https://keithp.com/~keithp/talks/xtc2001/paper > > > > It mentions, that

Re: [hackers] [tabbed][PATCH] Use utf8 for window name

2020-06-11 Thread Laslo Hunhold
On Thu, 11 Jun 2020 11:42:40 +0500 Nikita Zlobin wrote: Dear Nikita, > One more reason to propose utf. I have read this to better understand > Xft: https://keithp.com/~keithp/talks/xtc2001/paper > > It mentions, that Xft requires unicode. Not sure, what unicode type is > meant, but at least

Re: [hackers] [tabbed][PATCH] Use utf8 for window name

2020-06-11 Thread Nikita Zlobin
In Wed, 10 Jun 2020 22:09:01 +0200 Hiltjo Posthuma wrote: > On Thu, Jun 04, 2020 at 02:13:49PM +0500, Nikita Zlobin wrote: > > At least some desktop tools (non-mainstream) are in trouble with > > tabbed window name. At the moment of try I have only tint2 and > > rofi. First just showes intitled,