diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-25 16:50:44 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-25 16:50:44 +0200 |
commit | 7bbbcff7db94282d57f7c8824ec1c46c8f7aa18e (patch) | |
tree | 9c22c300c37f9bb44bff44a84eef085d9ba0cab9 /uzbl.c | |
parent | de790af53e5daea83ab046a6ef02859ae88596e2 (diff) |
use x window id for fifo, not pid
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,11 +118,11 @@ static void { if (fifodir) { - sprintf (fifopath, "%s/uzbl_%d", fifodir, getpid ()); + sprintf (fifopath, "%s/uzbl_%d", fifodir, (int) xwin); } else { - sprintf (fifopath, "/tmp/uzbl_%d", getpid ()); + sprintf (fifopath, "/tmp/uzbl_%d", (int) xwin); } if (mkfifo (fifopath, 0666) == -1) |