(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.

This commit is contained in:
frosch 2010-07-11 14:35:53 +00:00
parent 0a689a67f5
commit 987417e665
1 changed files with 1 additions and 1 deletions

View File

@ -2124,7 +2124,7 @@ static void MouseLoop(MouseClick click, int mousewheel)
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 */