From c6b3bf48305e6ff456bc7d3b16e424461d323b7b Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 19 Sep 2021 09:30:51 -0400 Subject: [PATCH] Switch to Always Center Patch - Disable center and center transient windows patches - Enable always center patch --- README.org | 6 +++--- patches.def.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index c0ce3f3..0b61501 100644 --- a/README.org +++ b/README.org @@ -1525,7 +1525,7 @@ All floating windows are centered, like the center patch, but without a rule. Th https://dwm.suckless.org/patches/alwayscenter/ #+begin_src c :tangle patches.def.h -#define ALWAYSCENTER_PATCH 0 +#define ALWAYSCENTER_PATCH 1 #+end_src *** Aspect Resize @@ -1613,7 +1613,7 @@ This patch takes precedence over centeredwindowname, alwayscenter and fancybar p https://dwm.suckless.org/patches/center/ #+begin_src c :tangle patches.def.h -#define CENTER_PATCH 1 +#define CENTER_PATCH 0 #+end_src *** Center Transient @@ -1627,7 +1627,7 @@ It should be noted that in dwm transient windows are not subject to normal clien This patch centers transient windows on the screen like the center patch does. Note that the 6.2 center patch piggy-backed on the updatewindowtype function to ensure that all dialog boxes were centered, transient or not. This function was removed in relation to adding wintype as a client rule filter, hence this no longer works out of the box. This patch restores previous behaviour with the center patch. #+begin_src c :tangle patches.def.h -#define CENTER_TRANSIENT_WINDOWS_PATCH 1 +#define CENTER_TRANSIENT_WINDOWS_PATCH 0 #+end_src **** By Parent diff --git a/patches.def.h b/patches.def.h index 5b0221f..ed2447b 100644 --- a/patches.def.h +++ b/patches.def.h @@ -99,7 +99,7 @@ #define BAR_WINTITLEACTIONS_PATCH BAR_AWESOMEBAR_PATCH || BAR_TABGROUPS_PATCH || BAR_FLEXWINTITLE_PATCH -#define ALWAYSCENTER_PATCH 0 +#define ALWAYSCENTER_PATCH 1 #define ASPECTRESIZE_PATCH 1 @@ -115,9 +115,9 @@ #define AUTORESIZE_PATCH 1 -#define CENTER_PATCH 1 +#define CENTER_PATCH 0 -#define CENTER_TRANSIENT_WINDOWS_PATCH 1 +#define CENTER_TRANSIENT_WINDOWS_PATCH 0 #define CENTER_TRANSIENT_WINDOWS_BY_PARENT_PATCH 0