diff --git a/util.c b/util.c index 3e55e2f6..3fbe0b13 100644 --- a/util.c +++ b/util.c @@ -68,7 +68,7 @@ uicb_spawn(Display * disp, if(!arg) return; - if(XineramaIsActive(disp) && (tmp = getenv("DISPLAY"))) + if(!XineramaIsActive(disp) && (tmp = getenv("DISPLAY"))) { display = a_strdup(tmp); if((tmp = strrchr(display, '.')))