From aefa8dd026134400faf173258e2a63f5927cef9a Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Sun, 19 Dec 2021 18:40:33 -0500 Subject: Added swallow patch https://dwm.suckless.org/patches/swallow/ --- config.def.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index d39ef0a..5dc1f41 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,8 @@ static const unsigned int gappoh = 15; /* horiz outer gap between windo static const unsigned int gappov = 15; /* vert outer gap between windows and screen edge */ static int smartgaps = 0; /* 1 means no outer gap when there is only one window */ +static const int swallowfloating = 1; /* 1 means swallow floating windows by default */ + static unsigned int borderpx = 2; /* border pixel of windows */ static unsigned int snap = 32; /* snap pixel */ static int showbar = 1; /* 0 means no bar */ @@ -34,9 +36,12 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating isterminal noswallow monitor */ + { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 }, + { "St", NULL, NULL, 0, 0, 1, 0, -1 }, + { NULL, "st", NULL, 0, 0, 1, 0, -1 }, + { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ }; /* layout(s) */ -- cgit v1.2.3