commit 75c914b0be147ea539bf30b4b2989a094d525f1e
parent 304e80ca4fd3559bc872ef9b707fed0ac02c6520
Author: Kris Maglione <jg@suckless.org>
Date: Sun, 18 Feb 2007 19:19:10 -0500
Process pending events on startup.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -245,10 +245,10 @@ init_traps() {
int
main(int argc, char *argv[]) {
- int i;
char *address = nil, *wmiirc = nil, *namespace, *errstr;
WMScreen *s;
struct passwd *passwd;
+ int i;
XSetWindowAttributes wa;
/* command line args */
@@ -426,7 +426,7 @@ main(int argc, char *argv[]) {
if(view)
write_event("FocusTag %s\n", screen->sel->name);
- /* main event loop */
+ check_x_event(nil);
errstr = ixp_server_loop(&srv);
if(errstr)
fprintf(stderr, "wmiiwm: fatal: %s\n", errstr);