rem: wWorkspaceChange(menu->frame->screen_ptr, wwin->frame->workspace);
context: focusWindow(WMenu *menu, WMenuEntry *entry){    WWindow *wwin;    WScreen *scr;    int x, y, move=0;    wwin = (WWindow*)entry->clientdata;    scr = wwin->screen_ptr;        wWorkspaceChange(menu->frame->screen_ptr, wwin->frame->workspace);    if (wwin->flags.shaded) {	wUnshadeWindow(wwin);    }    if (wwin->flags.hidden) {	wUnhideApplication(wApplicationOf(wwin->main_window), False, False);    } else if (wwin->flags.miniaturized) {	wDeiconifyWindow(wwin);    } else {	wSetFocusTo(menu->frame->screen_ptr, wwin);	wRaiseFrame(wwin->frame->core);    }    x = wwin->frame_x;    y = wwin->frame_y;            /* bring window back to visible area */    move = wScreenBringInside(scr, &x, &y, wwin->frame->core->width, 			      wwin->frame->core->height);    if (move) {	wWindowConfigure(wwin, x, y, wwin->client.width, wwin->client.height);    }}