mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xwayland/xwm: associate even on xcb_get_property() failure
This matches the behavior before f5797be8a8.
			
			
This commit is contained in:
		
							parent
							
								
									98c708618e
								
							
						
					
					
						commit
						f91fc445ff
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -938,7 +938,7 @@ static void xwayland_surface_associate(struct wlr_xwm *xwm,
 | 
				
			||||||
			xcb_get_property_reply(xwm->xcb_conn, cookies[i], NULL);
 | 
								xcb_get_property_reply(xwm->xcb_conn, cookies[i], NULL);
 | 
				
			||||||
		if (reply == NULL) {
 | 
							if (reply == NULL) {
 | 
				
			||||||
			wlr_log(WLR_ERROR, "Failed to get window property");
 | 
								wlr_log(WLR_ERROR, "Failed to get window property");
 | 
				
			||||||
			return;
 | 
								continue;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		read_surface_property(xwm, xsurface, props[i], reply);
 | 
							read_surface_property(xwm, xsurface, props[i], reply);
 | 
				
			||||||
		free(reply);
 | 
							free(reply);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue