Changeset - r17984:86498100a186
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-08-21 16:48:31
rubidium@openttd.org
(svn r22803) -Fix (r22796): clicking should not work either when hiding windows
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -1350,7 +1350,7 @@ Window *FindWindowFromPt(int x, int y)
 
{
 
	Window *w;
 
	FOR_ALL_WINDOWS_FROM_FRONT(w) {
 
		if (IsInsideBS(x, w->left, w->width) && IsInsideBS(y, w->top, w->height)) {
 
		if (MayBeShown(w) && IsInsideBS(x, w->left, w->width) && IsInsideBS(y, w->top, w->height)) {
 
			return w;
 
		}
 
	}
0 comments (0 inline, 0 general)