remove unneeded patches

This commit is contained in:
Luca Bilke 2024-02-07 11:56:05 +01:00
parent 9e95045db7
commit 57d5ed7041
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
3 changed files with 3 additions and 5 deletions

View File

@ -13,7 +13,6 @@
/* appearance */ /* appearance */
static const unsigned int borderpx = 2; static const unsigned int borderpx = 2;
static const unsigned int snap = 33; static const unsigned int snap = 33;
static const int swallowfloating = 1;
static const int showbar = 1; static const int showbar = 1;
static const int topbar = 1; static const int topbar = 1;
static const int focusonwheel = 1; static const int focusonwheel = 1;
@ -177,7 +176,6 @@ static const Rule rules[] = {
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
RULE(.role = "pop-up", .isfloating = 1) RULE(.role = "pop-up", .isfloating = 1)
RULE(.title = "Event Tester", .noswallow = 1)
RULE(.class = "St", .isterminal = 1) RULE(.class = "St", .isterminal = 1)
RULE(.instance = "gcr-prompter", .floatpos = "50% 50% 308W 214H") RULE(.instance = "gcr-prompter", .floatpos = "50% 50% 308W 214H")
RULE(.instance = "sphelp", .scratchkey = 'h', .isfloating = 1, .floatpos = "50% 50% 40% 80%") RULE(.instance = "sphelp", .scratchkey = 'h', .isfloating = 1, .floatpos = "50% 50% 40% 80%")

View File

@ -46,7 +46,7 @@ PANGOLIB = `pkg-config --libs xft pango pangoxft`
#XEXTLIB = -lXext #XEXTLIB = -lXext
# Uncomment this for the swallow patch / SWALLOW_PATCH # Uncomment this for the swallow patch / SWALLOW_PATCH
XCBLIBS = -lX11-xcb -lxcb -lxcb-res # XCBLIBS = -lX11-xcb -lxcb -lxcb-res
# This is needed for the winicon and tagpreview patches / BAR_WINICON_PATCH / BAR_TAGPREVIEW_PATCH # This is needed for the winicon and tagpreview patches / BAR_WINICON_PATCH / BAR_TAGPREVIEW_PATCH
#IMLIB2LIBS = -lImlib2 #IMLIB2LIBS = -lImlib2

View File

@ -349,7 +349,7 @@
* https://groups.google.com/forum/m/#!topic/wmii/7bncCahYIww * https://groups.google.com/forum/m/#!topic/wmii/7bncCahYIww
* https://docs.google.com/viewer?a=v&pid=forums&srcid=MDAwODA2MTg0MDQyMjE0OTgzMzMBMDQ3ODQzODkyMTU3NTAyMTMxNTYBX2RUMVNtOUtDQUFKATAuMQEBdjI&authuser=0 * https://docs.google.com/viewer?a=v&pid=forums&srcid=MDAwODA2MTg0MDQyMjE0OTgzMzMBMDQ3ODQzODkyMTU3NTAyMTMxNTYBX2RUMVNtOUtDQUFKATAuMQEBdjI&authuser=0
*/ */
#define BAR_IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH 1 #define BAR_IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH 0
/* This patch adds back in the workaround for a BadLength error in the Xft library when color /* This patch adds back in the workaround for a BadLength error in the Xft library when color
* glyphs are used. This is for systems that do not have an updated version of the Xft library * glyphs are used. This is for systems that do not have an updated version of the Xft library
@ -1173,7 +1173,7 @@
* *
* https://dwm.suckless.org/patches/swallow/ * https://dwm.suckless.org/patches/swallow/
*/ */
#define SWALLOW_PATCH 1 #define SWALLOW_PATCH 0
/* This patch depends on the pertag patch and makes it possible to switch focus with a single /* This patch depends on the pertag patch and makes it possible to switch focus with a single
* shortcut (MOD+s) instead of having to think if you should use mod-j or mod-k for reaching * shortcut (MOD+s) instead of having to think if you should use mod-j or mod-k for reaching