commit f0bad9ac44ec2785e8efa8a5c42800db2e6d409e
parent 4d4a5ed5651c15c6f0f9358c377a127ed6e7b498
Author: Bakkeby <bakkeby@gmail.com>
Date: Mon, 18 Jul 2022 11:54:51 +0200
Removing the anysize-nobar amendment for the anysize patch as this should be redundant following the fix in PR #75
Diffstat:
3 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
@@ -95,9 +95,9 @@ Refer to [https://st.suckless.org/](https://st.suckless.org/) for details on the
- [anysize](https://st.suckless.org/patches/anysize/)
- allows st to reize to any pixel size rather than snapping to character width / height
- - [anysize_nobar](https://github.com/connor-brooks/st-anysize-nobar)
- - a patch that aims to prevent black bars being drawn on the edges of st terminals using the
- anysize patch
+ - [~anysize_nobar~](https://github.com/connor-brooks/st-anysize-nobar)
+ - ~a patch that aims to prevent black bars being drawn on the edges of st terminals using the
+ anysize patch~
- [background-image](https://st.suckless.org/patches/background_image/)
- draws a background image in farbfeld format in place of the defaultbg color allowing for
diff --git a/patches.def.h b/patches.def.h
@@ -34,15 +34,6 @@
*/
#define ANYSIZE_PATCH 0
-/* This patch aims to prevent black bars being drawn on the edges of st terminals using the anysize
- * patch. This generally only occurs when the terminal background color doesn't match the colors
- * set in st's config.h file, for example when using terminal theming scripts such as base16.
- * (I have not found this to be working, but adding for reference. May reduce flickering on
- * terminal resizes.)
- * https://github.com/connor-brooks/st-anysize-nobar
- */
-#define ANYSIZE_NOBAR_PATCH 0
-
/* A simple variant of the anysize patch that only changes the resize hints to allow the window to
* be resized to any size.
*/
diff --git a/x.c b/x.c
@@ -3291,13 +3291,6 @@ run(void)
}
}
- #if ANYSIZE_NOBAR_PATCH
- /* Refresh before drawing */
- cresize(0, 0);
- redraw();
- xhints();
- #endif // ANYSIZE_NOBAR_PATCH
-
#if VISUALBELL_1_PATCH
if (bellon) {
bellon++;