diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-08-16 18:44:43 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-08-16 18:44:43 +0300 |
commit | 1dec076282eae69d44e5aa3168ae8ed0e7bfb94d (patch) | |
tree | bba9b2448b4d07c7df79898d31ec6c6327a21bf0 /patches/dwm-alwayscenter-20200625-f04cac6.diff | |
parent | 15346749a4ce015906ed1a98f60c335cf8c07745 (diff) |
Patched dwm according to current configuration.
Changes to be committed:
modified: config.def.h
new file: config.def.h.orig
new file: config.def.h.rej
new file: config.h
new file: drw.c.orig
modified: dwm.1
new file: dwm.1.orig
modified: dwm.c
new file: dwm.c.orig
new file: dwm.c.rej
new file: movestack.c
new file: patches/dwm-actualfullscreen-20211013-cb3f58a.diff
new file: patches/dwm-adjacenttag-skipvacant-6.2.diff
new file: patches/dwm-alttagsdecoration-2020010304-cb3f58a.diff
new file: patches/dwm-alwayscenter-20200625-f04cac6.diff
new file: patches/dwm-attachbottom-6.3.diff
new file: patches/dwm-fixborders-6.2.diff
new file: patches/dwm-movestack-20211115-a786211.diff
new file: patches/dwm-pertag-20200914-61bb8b2.diff
new file: patches/dwm-uselessgap-20211119-58414bee958f2.diff
Diffstat (limited to 'patches/dwm-alwayscenter-20200625-f04cac6.diff')
-rw-r--r-- | patches/dwm-alwayscenter-20200625-f04cac6.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/dwm-alwayscenter-20200625-f04cac6.diff b/patches/dwm-alwayscenter-20200625-f04cac6.diff new file mode 100644 index 0000000..03ea9ef --- /dev/null +++ b/patches/dwm-alwayscenter-20200625-f04cac6.diff @@ -0,0 +1,12 @@ +diff -up dwm/dwm.c dwmmod/dwm.c +--- dwm/dwm.c 2020-06-25 00:21:30.383692180 -0300 ++++ dwmmod/dwm.c 2020-06-25 00:20:35.643692330 -0300 +@@ -1057,6 +1057,8 @@ manage(Window w, XWindowAttributes *wa) + updatewindowtype(c); + updatesizehints(c); + updatewmhints(c); ++ c->x = c->mon->mx + (c->mon->mw - WIDTH(c)) / 2; ++ c->y = c->mon->my + (c->mon->mh - HEIGHT(c)) / 2; + XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); + grabbuttons(c, 0); + if (!c->isfloating) |