From 252e89fe65dd5cfbca3873a243cac67821486292 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 12 Apr 2021 18:15:28 -0400 Subject: [PATCH] [dwm] Fix swallow not working --- suckless/dwm/config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suckless/dwm/config.def.h b/suckless/dwm/config.def.h index a8d8a40..69c77f6 100644 --- a/suckless/dwm/config.def.h +++ b/suckless/dwm/config.def.h @@ -5,7 +5,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ -static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ +static const int swallowfloating = 1; /* 1 means swallow floating windows by default */ static const unsigned int gappih = 20; /* horiz inner gap between windows */ static const unsigned int gappiv = 10; /* vert inner gap between windows */ static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ @@ -46,7 +46,7 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating isterminal noswallow monitor */ { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 }, - { "st", NULL, NULL, 0, 0, 1, 0, -1 }, + { "st", NULL, NULL, 0, 0, 1, 1, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ };