[wiki] [sites] [dwm][patch] dwmc: window titles now update properly || Nihal Jere

From: <git_AT_suckless.org>
Date: Sat, 21 Mar 2020 21:24:51 +0100

commit 3c8bab4f472138c58a5f44e22022b7ee5234cf1e
Author: Nihal Jere <nihal_AT_nihaljere.xyz>
Date: Sat Mar 21 15:22:57 2020 -0500

    [dwm][patch] dwmc: window titles now update properly

diff --git a/dwm.suckless.org/patches/dwmc/dwm-dwmc-6.2.diff b/dwm.suckless.org/patches/dwmc/dwm-dwmc-6.2.diff
index 73b2b01c..bf606d59 100644
--- a/dwm.suckless.org/patches/dwmc/dwm-dwmc-6.2.diff
+++ b/dwm.suckless.org/patches/dwmc/dwm-dwmc-6.2.diff
_AT_@ -1,14 +1,14 @@
-From f2af4bc3699461833d614dbd1610123b1c315853 Mon Sep 17 00:00:00 2001
-From: Daniel Perez Alvarez <danielpza_AT_protonmail.com>
-Date: Sat, 28 Sep 2019 15:17:28 +0000
+From d94cb6f1a553d19127f44dbdc96e8bb5041956c2 Mon Sep 17 00:00:00 2001
+From: Nihal Jere <noocsharp_AT_gmail.com>
+Date: Sat, 21 Mar 2020 15:16:49 -0500
 Subject: [PATCH] dwm-client
 
 ---
  Makefile | 2 +-
  config.def.h | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++
- dwm.c | 52 +++++++++++++++++++++++++++++++++++++-
+ dwm.c | 55 +++++++++++++++++++++++++++++++++++++++--
  dwmc | 40 ++++++++++++++++++++++++++++++
- 4 files changed, 162 insertions(+), 2 deletions(-)
+ 4 files changed, 164 insertions(+), 3 deletions(-)
  create mode 100755 dwmc
 
 diff --git a/Makefile b/Makefile
_AT_@ -103,7 +103,7 @@ index 1c0b587..efbae79 100644
 + { "setlayoutex", setlayoutex },
 +};
 diff --git a/dwm.c b/dwm.c
-index 4465af1..e0fc838 100644
+index 4465af1..aa53706 100644
 --- a/dwm.c
 +++ b/dwm.c
 _AT_@ -106,6 +106,11 @@ typedef struct {
_AT_@ -176,13 +176,16 @@ index 4465af1..e0fc838 100644
  void
  killclient(const Arg *arg)
  {
-_AT_@ -1216,7 +1265,8 @@ propertynotify(XEvent *e)
+_AT_@ -1215,8 +1264,10 @@ propertynotify(XEvent *e)
+ Window trans;
          XPropertyEvent *ev = &e->xproperty;
  
- if ((ev->window == root) && (ev->atom == XA_WM_NAME))
+- if ((ev->window == root) && (ev->atom == XA_WM_NAME))
 - updatestatus();
++ if ((ev->window == root) && (ev->atom == XA_WM_NAME)) {
 + if (!fake_signal())
 + updatestatus();
++ }
          else if (ev->state == PropertyDelete)
                  return; /* ignore */
          else if ((c = wintoclient(ev->window))) {
_AT_@ -233,5 +236,5 @@ index 0000000..5ff8dbc
 + ;;
 +esac
 --
-2.17.1
+2.25.1
 
diff --git a/dwm.suckless.org/patches/dwmc/index.md b/dwm.suckless.org/patches/dwmc/index.md
index 0b9250ae..26b9cca8 100644
--- a/dwm.suckless.org/patches/dwmc/index.md
+++ b/dwm.suckless.org/patches/dwmc/index.md
_AT_@ -22,4 +22,5 @@ Download
 Authors
 -------
 * Daniel Perez - <danielpza_AT_protonmail.com>
-* Chris Noxz - <chris_AT_noxz.tech> (original autor of fsignal)
+* Nihal Jere <nihal_AT_nihaljere.xyz> (fixed window titles not updating)
+* Chris Noxz - <chris_AT_noxz.tech> (original author of fsignal)
Received on Sat Mar 21 2020 - 21:24:51 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 21 2020 - 21:36:50 CET