File diff r16733:2c0bce03b3e4 → r16734:e078163a5383
src/window.cpp
Show inline comments
 
@@ -406,7 +406,7 @@ static void DispatchRightClickEvent(Wind
 
		if (w->OnRightClick(pt, wid->index)) return;
 
	}
 

	
 
	if (_settings_client.gui.hover_delay == 0 && wid->tool_tip != 0) GuiShowTooltips(wid->tool_tip, 0, NULL, TCC_RIGHT_CLICK);
 
	if (_settings_client.gui.hover_delay == 0 && wid->tool_tip != 0) GuiShowTooltips(w, wid->tool_tip, 0, NULL, TCC_RIGHT_CLICK);
 
}
 

	
 
/**
 
@@ -424,7 +424,7 @@ static void DispatchHoverEvent(Window *w
 

	
 
	/* Show the tooltip if there is any */
 
	if (wid->tool_tip != 0) {
 
		GuiShowTooltips(wid->tool_tip);
 
		GuiShowTooltips(w, wid->tool_tip);
 
		return;
 
	}