From f0bad9ac44ec2785e8efa8a5c42800db2e6d409e Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 18 Jul 2022 11:54:51 +0200 Subject: [PATCH] Removing the anysize-nobar amendment for the anysize patch as this should be redundant following the fix in PR #75 --- README.md | 6 +++--- patches.def.h | 9 --------- x.c | 7 ------- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index c276eda..0c97e75 100644 --- 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 index d14548f..4345a4a 100644 --- 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 index 34780db..9c3f09c 100644 --- 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++;