puts("window still valid, raising");
win_send(x, x->self, win->win, 0, "GOTO", strtoul(addr, NULL, 0));
win_send(x, x->self, winid, 0, "DONE", 0);
+ XMapRaised(x->display, win->win);
+ XSetInputFocus(x->display, win->win, RevertToNone, CurrentTime);
+ XWMHints *hints = XGetWMHints(x->display, win->win);
+ if (hints) {
+ hints->flags |= XUrgencyHint;
+ XSetWMHints(x->display, win->win, hints);
+ XFree(hints);
+ }
+ XSync(x->display, False);
free(type);
return;
}