Switch from uicb_exec(0, globalconf.argv) to uicb_restart()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-23 21:57:07 +01:00
parent db0932f77a
commit 8ba54194de
1 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ event_handle_configurenotify(XEvent * e)
&& (ev->width != DisplayWidth(e->xany.display, screen) && (ev->width != DisplayWidth(e->xany.display, screen)
|| ev->height != DisplayHeight(e->xany.display, screen))) || ev->height != DisplayHeight(e->xany.display, screen)))
/* it's not that we panic, but restart */ /* it's not that we panic, but restart */
uicb_exec(0, globalconf.argv); uicb_restart(0, NULL);
} }
/** Handle XDestroyWindow events /** Handle XDestroyWindow events
@ -482,7 +482,7 @@ void
event_handle_randr_screen_change_notify(XEvent *e) event_handle_randr_screen_change_notify(XEvent *e)
{ {
XRRUpdateConfiguration(e); XRRUpdateConfiguration(e);
uicb_exec(0, globalconf.argv); uicb_restart(0, NULL);
} }
/** Handle XClientMessage events /** Handle XClientMessage events