Spawn: Applied KERNEL_ERROR's patch.
This commit is contained in:
parent
cb1cfb5d8e
commit
8cde052456
@ -141,7 +141,7 @@ init_root(void)
|
||||
XChangeWindowAttributes(dpy, ROOT, CWEventMask | CWCursor, &at);
|
||||
|
||||
if(conf.root.background_command)
|
||||
spawn(conf.root.background_command);
|
||||
spawn("%s", conf.root.background_command);
|
||||
|
||||
ewmh_init_hints();
|
||||
ewmh_get_number_of_desktop();
|
||||
|
||||
@ -180,7 +180,6 @@ mouse_resize(Client *c)
|
||||
|| c->state_fullscreen || c->state_dock)
|
||||
return;
|
||||
|
||||
|
||||
XQueryPointer(dpy, ROOT, &w, &w, &omx, &omy, &d, &d, (uint *)&u);
|
||||
|
||||
if((omx - c->geo.x) < (c->geo.width / 2))
|
||||
|
||||
@ -257,5 +257,5 @@ swap_ptr(void **x, void **y)
|
||||
void
|
||||
uicb_spawn(uicb_t cmd)
|
||||
{
|
||||
spawn(cmd);
|
||||
spawn("%s", cmd);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user