]> git.sur5r.net Git - i3/i3/commitdiff
sighandler: only display on active outputs
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Mar 2010 07:48:57 +0000 (08:48 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Mar 2010 07:48:57 +0000 (08:48 +0100)
src/sighandler.c

index 8330232ab55f289da8c26afb5bb81f319c31ae39..590608b63636fd3a139743664e47673c2314f12b 100644 (file)
@@ -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 */