Removing the anysize-nobar amendment for the anysize patch as this should be redundant following the fix in PR #75

This commit is contained in:
Bakkeby 2022-07-18 11:54:51 +02:00
parent 4d4a5ed565
commit f0bad9ac44
3 changed files with 3 additions and 19 deletions

View File

@ -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/) - [anysize](https://st.suckless.org/patches/anysize/)
- allows st to reize to any pixel size rather than snapping to character width / height - 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) - [~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 - ~a patch that aims to prevent black bars being drawn on the edges of st terminals using the
anysize patch anysize patch~
- [background-image](https://st.suckless.org/patches/background_image/) - [background-image](https://st.suckless.org/patches/background_image/)
- draws a background image in farbfeld format in place of the defaultbg color allowing for - draws a background image in farbfeld format in place of the defaultbg color allowing for

View File

@ -34,15 +34,6 @@
*/ */
#define ANYSIZE_PATCH 0 #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 /* A simple variant of the anysize patch that only changes the resize hints to allow the window to
* be resized to any size. * be resized to any size.
*/ */

7
x.c
View File

@ -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 VISUALBELL_1_PATCH
if (bellon) { if (bellon) {
bellon++; bellon++;