Changeset - r15465:329927048ae2
[Not reviewed]
master
0 1 0
frosch - 14 years ago 2010-07-11 14:35:53
frosch@openttd.org
(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -2124,7 +2124,7 @@ static void MouseLoop(MouseClick click, 
 
	Window *w = FindWindowFromPt(x, y);
 
	if (w == NULL) return;
 

	
 
	if (!MaybeBringWindowToFront(w)) return;
 
	if (click != MC_HOVER && !MaybeBringWindowToFront(w)) return;
 
	ViewPort *vp = IsPtInWindowViewport(w, x, y);
 

	
 
	/* Don't allow any action in a viewport if either in menu of in generating world */
0 comments (0 inline, 0 general)