[wiki] [sites] [dwm][systray] Update git head || Ivan Tham

From: <git_AT_suckless.org>
Date: Mon, 14 Sep 2020 17:35:57 +0200

commit 54acb126dc373a90c8537911b4e75e5fdb9ff64b
Author: Ivan Tham <pickfire_AT_riseup.net>
Date: Mon Sep 14 23:35:55 2020 +0800

    [dwm][systray] Update git head

diff --git a/dwm.suckless.org/patches/systray/dwm-systray-20200610-f09418b.diff b/dwm.suckless.org/patches/systray/dwm-systray-20200914-61bb8b2.diff
similarity index 97%
rename from dwm.suckless.org/patches/systray/dwm-systray-20200610-f09418b.diff
rename to dwm.suckless.org/patches/systray/dwm-systray-20200914-61bb8b2.diff
index c12b1cb7..b2a4d572 100644
--- a/dwm.suckless.org/patches/systray/dwm-systray-20200610-f09418b.diff
+++ b/dwm.suckless.org/patches/systray/dwm-systray-20200914-61bb8b2.diff
_AT_@ -1,13 +1,3 @@
-From f3e4acadd74cf392fdb7bf406c2edfcf5425eee8 Mon Sep 17 00:00:00 2001
-From: Michel Boaventura <michel.boaventura_AT_protonmail.com>
-Date: Wed, 10 Jun 2020 12:50:03 -0300
-Subject: [PATCH] Implements a system tray for dwm
-
----
- config.def.h |   4 +
- dwm.c        | 403 +++++++++++++++++++++++++++++++++++++++++++++++----
- 2 files changed, 381 insertions(+), 26 deletions(-)
-
 diff --git a/config.def.h b/config.def.h
 index 1c0b587..2d824d1 100644
 --- a/config.def.h
_AT_@ -24,7 +14,7 @@ index 1c0b587..2d824d1 100644
  static const int topbar             = 1;        /* 0 means bottom bar */
  static const char *fonts[]          = { "monospace:size=10" };
 diff --git a/dwm.c b/dwm.c
-index 9fd0286..ed42af7 100644
+index 664c527..abce13d 100644
 --- a/dwm.c
 +++ b/dwm.c
 _AT_@ -57,12 +57,30 @@
_AT_@ -145,8 +135,8 @@ index 9fd0286..ed42af7 100644
  			arg.ui = 1 << i;
  		} else if (ev->x < x + blw)
  			click = ClkLtSymbol;
--		else if (ev->x > selmon->ww - TEXTW(stext))
-+		else if (ev->x > selmon->ww - TEXTW(stext) - getsystraywidth())
+-		else if (ev->x > selmon->ww - (int)TEXTW(stext))
++		else if (ev->x > selmon->ww - (int)TEXTW(stext) - getsystraywidth())
  			click = ClkStatusText;
  		else
  			click = ClkWinTitle;
_AT_@ -735,6 +725,3 @@ index 9fd0286..ed42af7 100644
  void
  zoom(const Arg *arg)
  {
--- 
-2.27.0
-
diff --git a/dwm.suckless.org/patches/systray/index.md b/dwm.suckless.org/patches/systray/index.md
index 4cb174f8..b170a65e 100644
--- a/dwm.suckless.org/patches/systray/index.md
+++ b/dwm.suckless.org/patches/systray/index.md
_AT_@ -11,7 +11,7 @@ in dwm. This has helped at least in one case with pidgin.
 
 Download
 --------
-* [dwm-systray-20200610-f09418b.diff](dwm-systray-20200610-f09418b.diff) (24k) (20200610)
+* [dwm-systray-20200914-61bb8b2.diff](dwm-systray-20200914-61bb8b2.diff) (23k) (20200914)
 * [dwm-systray-6.2.diff](dwm-systray-6.2.diff) (23923b) (20200216)
 * [dwm-systray-20190208-cb3f58a.diff](dwm-systray-20190208-cb3f58a.diff) (24K)
 * [dwm-6.1-systray.diff](dwm-6.1-systray.diff) (24K) (20190208)
Received on Mon Sep 14 2020 - 17:35:57 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 14 2020 - 17:36:42 CEST