titler fixes, auto paste bug, resize popup hang, focus policy fix, chk lang
[goodguy/history.git] / cinelerra-5.1 / guicast / bcbutton.C
index 90a4681db0ddd6d28750315449cdafeb3dc7cce8..de76b69c62498ffc2ffdfe314f5ecc9193c39011 100644 (file)
@@ -154,12 +154,10 @@ int BC_Button::draw_face(int flush)
 
 int BC_Button::repeat_event(int64_t duration)
 {
-       if( status == BUTTON_UPHI && !tooltip_done &&
-               tooltip_text && tooltip_text[0] != 0 &&
+       if( status == BUTTON_UPHI && tooltip_text && tooltip_text[0] != 0 &&
                duration == top_level->get_resources()->tooltip_delay )
        {
                show_tooltip();
-               tooltip_done = 1;
                return 1;
        }
        return 0;
@@ -169,9 +167,7 @@ int BC_Button::cursor_enter_event()
 {
        if(is_event_win() && enabled)
        {
-               tooltip_done = 0;
-               if(top_level->button_down)
-               {
+               if(top_level->button_down) {
                        status = BUTTON_DOWNHI;
                }
                else