From 8ba54194de232b7a51ed8c33bdb511aa3bef8d68 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 23 Mar 2008 21:57:07 +0100 Subject: [PATCH] Switch from uicb_exec(0, globalconf.argv) to uicb_restart() Signed-off-by: Julien Danjou --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.c b/event.c index 710ba7a7a..295a12ae8 100644 --- a/event.c +++ b/event.c @@ -227,7 +227,7 @@ event_handle_configurenotify(XEvent * e) && (ev->width != DisplayWidth(e->xany.display, screen) || ev->height != DisplayHeight(e->xany.display, screen))) /* it's not that we panic, but restart */ - uicb_exec(0, globalconf.argv); + uicb_restart(0, NULL); } /** Handle XDestroyWindow events @@ -482,7 +482,7 @@ void event_handle_randr_screen_change_notify(XEvent *e) { XRRUpdateConfiguration(e); - uicb_exec(0, globalconf.argv); + uicb_restart(0, NULL); } /** Handle XClientMessage events