From 987417e6653f2f30556ac7a604333b577f269929 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 11 Jul 2010 14:35:53 +0000 Subject: (svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cpp b/src/window.cpp index 0fae692df..d8162d439 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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 */ -- cgit v1.2.3-70-g09d2