sighandler: only display on active outputs

This commit is contained in:
Michael Stapelberg 2010-03-03 08:48:57 +01:00
parent e5f222e03e
commit 187c72fa96

View File

@ -173,6 +173,8 @@ void handle_signal(int sig, siginfo_t *info, void *data) {
Output *screen; Output *screen;
xcb_window_t win; xcb_window_t win;
TAILQ_FOREACH(screen, &outputs, outputs) { TAILQ_FOREACH(screen, &outputs, outputs) {
if (!screen->active)
continue;
win = open_input_window(conn, screen->rect, width, height); win = open_input_window(conn, screen->rect, width, height);
/* Create pixmap */ /* Create pixmap */