summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-28 15:38:29 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:56 -0500
commit700b2c0aec0663249e39333b24de02f249f70267 (patch)
treeb84d802f3ce8c9c785a0b2fa4c19d3c1aaa6bd4a /openbox/openbox.c
parentef54ca590d49666b2f9df75c5c08537bee139819 (diff)
make the mainloop not depend on an X display, and make it uses the obt_display automatically
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index c9979325..8aefd76a 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -151,7 +151,7 @@ gint main(gint argc, gchar **argv)
exit(EXIT_SUCCESS);
}
- ob_main_loop = obt_main_loop_new(obt_display);
+ ob_main_loop = obt_main_loop_new();
/* set up signal handler */
obt_main_loop_signal_add(ob_main_loop, SIGUSR1, signal_handler, NULL,NULL);