Switch from uicb_exec(0, globalconf.argv) to uicb_restart()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
db0932f77a
commit
8ba54194de
4
event.c
4
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
|
||||
|
|
Loading…
Reference in New Issue