Adds a focus mode which gives focus to a window only after the pointer enters the window and remains stationary for some time.