sighandler: only display on active outputs
This commit is contained in:
parent
e5f222e03e
commit
187c72fa96
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user