applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required
This commit is contained in:
parent
4fb31e0896
commit
6af273771c
2 changed files with 4 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -1569,6 +1569,8 @@ sigchld(int unused) {
|
|||
|
||||
void
|
||||
spawn(const Arg *arg) {
|
||||
if(arg->v == dmenucmd)
|
||||
dmenumon[0] = '0' + selmon->num;
|
||||
if(fork() == 0) {
|
||||
if(dpy)
|
||||
close(ConnectionNumber(dpy));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue