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

pull/155/head
frosch 14 years ago
parent da87125878
commit 2db785bfff

@ -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 */

Loading…
Cancel
Save