Alan Third writes: > Some drawing functions are definitely used outside > ns_update_begin/end, at least in the NS port. > > Could you please put ns_focus calls back into ns_draw_window_cursor, > just in case they are needed, and we can get these changes put into > master and then maybe look at whether we need all these ns_focus calls > as a separate task (it would certainly be nice if we could get rid of > a few of them!). Thanks, here's the updated patch (along with the other patch for the improvements not related to text display). I will be sure to take a look at the rest of the ns_focus calls later, if I get the time.