Browse Source

there can only be one window in the event

master
Markus Teich 8 years ago
parent
commit
0ff0d9f7a7
  1. 1
      slock.c

1
slock.c

@ -209,6 +209,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
XResizeWindow(dpy, locks[screen]->win, XResizeWindow(dpy, locks[screen]->win,
rre->width, rre->height); rre->width, rre->height);
XClearWindow(dpy, locks[screen]->win); XClearWindow(dpy, locks[screen]->win);
break;
} }
} }
} else for (screen = 0; screen < nscreens; screen++) } else for (screen = 0; screen < nscreens; screen++)

Loading…
Cancel
Save