(svn r1602) -Fix: [1107514] When resizing a window, make sure the correct window receives the click
This commit is contained in:
		
							
								
								
									
										2
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								window.c
									
									
									
									
									
								
							@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user