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 | 6140e55f38b1c482f4169210f521c444f982d9b4 (patch) | |
tree | 8f9380b07a76ad78ee8e18b16e23e6066748ae7f | |
parent | 7f15ae3301aa46ffa2fd9929f366cd3e797d46c4 (diff) | |
download | openttd-6140e55f38b1c482f4169210f521c444f982d9b4.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); |