(svn r1602) -Fix: [1107514] When resizing a window, make sure the correct window receives the click

This commit is contained in:
tron 2005-01-23 08:34:39 +00:00
parent 7f15ae3301
commit 6140e55f38

View File

@ -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);