[wiki] [sites] [dwm][patch][sendmoncenter] Fixed the failure when patched || Rizqi Nur Assyaufi

From: <git_AT_suckless.org>
Date: Fri, 06 Aug 2021 18:20:31 +0200

commit 56364d34c59ce3e110e2b68bf993a32ec37c0ea7
Author: Rizqi Nur Assyaufi <bandithijo_AT_gmail.com>
Date: Sat Aug 7 00:15:29 2021 +0800

    [dwm][patch][sendmoncenter] Fixed the failure when patched

diff --git a/dwm.suckless.org/patches/sendmoncenter/dwm-sendmoncenter-20210805-138b405f.diff b/dwm.suckless.org/patches/sendmoncenter/dwm-sendmoncenter-20210805-138b405f.diff
index 1cf4dd49..83f48924 100644
--- a/dwm.suckless.org/patches/sendmoncenter/dwm-sendmoncenter-20210805-138b405f.diff
+++ b/dwm.suckless.org/patches/sendmoncenter/dwm-sendmoncenter-20210805-138b405f.diff
_AT_@ -1,13 +1,11 @@
-Date: Thu, 5 Aug 2021 16:09:20 +0800
+From 449324adbe53240a734cb5f8f72763bb3419829a Mon Sep 17 00:00:00 2001
 From: Rizqi Nur Assyaufi <bandithijo_AT_gmail.com>
-To: wiki_AT_suckless.org
-Cc: Rizqi Nur Assyaufi <bandithijo_AT_gmail.com>
-Subject: [PATCH] [sendmoncenter] Send floating window to another monitor
- will centered
+Date: Sat, 5 Aug 2021 00:04:32 +0800
+Subject: [PATCH] [sendmoncenter] Send floating window to another monitor will
+ centered
 
 This patch will allows you to send floating window client to another monitor
 will be centered position.
-
 ---
  dwm.c | 2 ++
  1 file changed, 2 insertions(+)
_AT_@ -17,13 +15,14 @@ index 5e4d494..c20023e 100644
 --- a/dwm.c
 +++ b/dwm.c
 _AT_@ -1418,6 +1418,8 @@ sendmon(Client *c, Monitor *m)
- detachstack(c);
- c->mon = m;
- c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */
+ detachstack(c);
+ c->mon = m;
+ c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */
 + c->x = c->mon->mx + (c->mon->mw - WIDTH(c)) / 2;
 + c->y = c->mon->my + (c->mon->mh - HEIGHT(c)) / 2;
- attach(c);
- attachstack(c);
- focus(NULL);
+ attach(c);
+ attachstack(c);
+ focus(NULL);
 --
 2.31.1
+
Received on Fri Aug 06 2021 - 18:20:31 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 06 2021 - 18:24:41 CEST