From 187c72fa96c90c90dee1d19da07b1725bc897df9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 3 Mar 2010 08:48:57 +0100 Subject: [PATCH] sighandler: only display on active outputs --- src/sighandler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sighandler.c b/src/sighandler.c index 8330232a..590608b6 100644 --- a/src/sighandler.c +++ b/src/sighandler.c @@ -173,6 +173,8 @@ void handle_signal(int sig, siginfo_t *info, void *data) { Output *screen; xcb_window_t win; TAILQ_FOREACH(screen, &outputs, outputs) { + if (!screen->active) + continue; win = open_input_window(conn, screen->rect, width, height); /* Create pixmap */