Ticket #9159: patchbay.diff

File patchbay.diff, 829 bytes (added by Pete, 7 years ago)

patch to make tooltips work again

  • src/tests/kits/midi/patchbay/TToolTip.cpp

    diff --git a/src/tests/kits/midi/patchbay/TToolTip.cpp b/src/tests/kits/midi/patchbay/TToolTip.cpp
    index 17ee1ca..c381c75 100644
    a b const rgb_color kTEXT_COLOR = {0, 0, 0, 255}; // text color (black)  
    3737
    3838TToolTip::TToolTip(tool_tip_settings *settings)
    3939       :BWindow(BRect(0, 0, 10, 10), "tool_tip", B_NO_BORDER_WINDOW_LOOK,
    40                 B_FLOATING_ALL_WINDOW_FEEL, B_AVOID_FRONT)
     40                B_FLOATING_ALL_WINDOW_FEEL, B_AVOID_FOCUS)
    4141{
    4242    // setup the tooltip view
    4343    AddChild(fView = new TToolTipView(settings));
    void TToolTipView::AllAttached()  
    125125    fTip.app_active = true;
    126126    fTip.quit = false;
    127127    fTip.stopped = true;
     128    fTip.showing = false;
    128129
    129130    fTip.tool_tip_view = this;
    130131    fTip.tool_tip_window = Window();