• Jan Djärv's avatar
    Avoid flickering on frame creation with tool bar on OSX. · f9d45267
    Jan Djärv authored
    * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
    is nil.  If waiting for toolbar to complete, force a redraw.
    
    * nsterm.h (EmacsView): Add wait_for_tool_bar.
    
    * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
    bar is zero height, just return.
    (initFrameFromEmacs:): Initialize wait_for_tool_bar.
    
    Fixes: debbugs:16976
    f9d45267
nsterm.h 27.2 KB