commit 1d39e08012147afe3480c3604df100d6f3ac573b
parent f93a225bb6bbda31d1981f3f8844f4a104b3e787
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Wed, 21 Oct 2020 20:50:43 -0400

R popups won't get swallowed

Diffstat:
Mconfig.def.h | 4+++-
Mdwm.c | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -45,6 +45,7 @@ static const Rule rules[] = { { "dropdown",NULL, NULL, 0, 1, 1, 0, 0, -1 }, { "youtube", NULL, NULL, 0, 1, 1, 1, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 1, 0, 1, -1 }, /* xev */ + { "R_x11", NULL, NULL, 0, 0, 1, 0, 1, -1 }, /* R popup */ }; /* include functions */ @@ -84,7 +85,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_white, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "st", NULL }; +/* static const char *termcmd[] = { "st", NULL }; */ #include "movestack.c" static Key keys[] = { @@ -175,6 +176,7 @@ static Signal signals[] = { { "fullscreen", fullscreen }, { "movestack", movestack }, { "tagmon", tagmon }, + { "swapmon", swapmon }, { "zoom", zoom }, { "view", view }, { "viewall", viewall }, diff --git a/dwm.c b/dwm.c @@ -232,7 +232,7 @@ static void seturgent(Client *c, int urg); static void showhide(Client *c); static void sigchld(int unused); static void sigdwmblocks(const Arg *arg); -static void spawn(const Arg *arg); +/* static void spawn(const Arg *arg); */ static void swapmon(const Arg *arg); static void tag(const Arg *arg); static void tagmon(const Arg *arg);