Skip to content

Commit

Permalink
Removing the anysize-nobar amendment for the anysize patch as this sh…
Browse files Browse the repository at this point in the history
…ould be redundant following the fix in PR #75
  • Loading branch information
bakkeby committed Jul 18, 2022
1 parent 4d4a5ed commit f0bad9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions patches.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
7 changes: 0 additions & 7 deletions x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit f0bad9a

Please sign in to comment.