} else if (session_desktop >= 0)
screen_set_desktop(MIN((guint)session_desktop,
} else if (session_desktop >= 0)
screen_set_desktop(MIN((guint)session_desktop,
/* change our desktop if we're on one that no longer exists! */
if (screen_desktop >= screen_num_desktops)
/* change our desktop if we're on one that no longer exists! */
if (screen_desktop >= screen_num_desktops)
/* have to try focus here because when you leave an empty desktop
there is no focus out to watch for */
/* have to try focus here because when you leave an empty desktop
there is no focus out to watch for */
/* reduce flicker by hiliting now rather than waiting for the server
FocusIn event */
frame_adjust_focus(c->frame, TRUE);
/* reduce flicker by hiliting now rather than waiting for the server
FocusIn event */
frame_adjust_focus(c->frame, TRUE);