static gboolean chain_timeout(gpointer data)
{
keyboard_reset_chains(0);
- XFlush(obt_display);
return FALSE; /* don't repeat */
}
old = keyboard_firstnode;
keyboard_firstnode = NULL;
- node_rebind(old);
+ if (old)
+ node_rebind(old);
tree_destroy(old);
set_curpos(NULL);