summaryrefslogtreecommitdiff
path: root/browser.c
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-06-21 09:23:26 +0200
committerPeter Hofmann <scm@uninformativ.de>2014-06-21 09:23:26 +0200
commit55126fd2bd5139465ec3944994a5023cfdf47d1d (patch)
tree788946abba5790ec8220fb31c36bfcb66edda972 /browser.c
parent443a493bac6bac44d431faf327423c5f475b5cff (diff)
downloadlariza-55126fd2bd5139465ec3944994a5023cfdf47d1d.tar.gz
Warn when the XID from tabbed is 0
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser.c b/browser.c
index f0e6332..b10361a 100644
--- a/browser.c
+++ b/browser.c
@@ -914,6 +914,8 @@ tabbed_launch(void)
g_strstrip(output);
plug_into = strtol(output, NULL, 16);
g_free(output);
+ if (plug_into == 0)
+ fprintf(stderr, __NAME__": The XID from tabbed is 0\n");
return plug_into;
}