applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required

This commit is contained in:
Anselm R Garbe
2013-08-02 22:40:20 +02:00
parent 4fb31e0896
commit 6af273771c
2 changed files with 4 additions and 1 deletions

2
dwm.c
View File

@ -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));