changeset: 1903:2a5862e7cfb3
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Feb 18 19:19:10 2007 -0500
summary: Process pending events on startup.
diff -r b1d6b246e661 -r 2a5862e7cfb3 main.c
--- a/main.c Sun Feb 18 18:31:58 2007 -0500
+++ b/main.c Sun Feb 18 19:19:10 2007 -0500
@@ -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);
Received on Mon Feb 19 2007 - 01:22:01 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:26 UTC