server: Dispatch idle loop in prepare
Without this we might have the idle callback not running when there are no events. This can result in e.g. the workspace indicator not going away until e.g. the mouse moves.
Signed-off-by: Guido Günther agx@sigxcpu.org