diff options
author | tron <tron@openttd.org> | 2005-01-23 08:34:39 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-23 08:34:39 +0000 |
commit | 7243369333475b819a2d4a8021a466660e702d5e (patch) | |
tree | 8f9380b07a76ad78ee8e18b16e23e6066748ae7f | |
parent | f83828d944bee314d829406b41b208bce46cdb78 (diff) | |
download | openttd-7243369333475b819a2d4a8021a466660e702d5e.tar.xz |
(svn r1602) -Fix: [1107514] When resizing a window, make sure the correct window receives the click
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ void DispatchLeftClickEvent(Window *w, int x, int y) { } if (w->desc_flags & WDF_RESIZABLE && wi->type == WWT_RESIZEBOX) - StartWindowSizing(w); + w = StartWindowSizing(w); if (w->desc_flags & WDF_STICKY_BUTTON && wi->type == WWT_STICKYBOX) { TOGGLEBIT(w->click_state, e.click.widget); |