mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Drop noisy warning
This commit is contained in:
		
							parent
							
								
									117d5130b1
								
							
						
					
					
						commit
						b036ad4a9a
					
				
					 1 changed files with 11 additions and 17 deletions
				
			
		| 
						 | 
					@ -345,14 +345,10 @@ handle_event(struct wl_display *display,
 | 
				
			||||||
	if (id == 1)
 | 
						if (id == 1)
 | 
				
			||||||
		proxy = &display->proxy;
 | 
							proxy = &display->proxy;
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		proxy = (struct wl_proxy *)
 | 
							proxy = wl_hash_table_lookup(display->objects, id);
 | 
				
			||||||
			wl_hash_table_lookup(display->objects, id);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (proxy != NULL) {
 | 
						if (proxy == NULL)
 | 
				
			||||||
		if (wl_list_empty(&proxy->listener_list)) {
 | 
							return;
 | 
				
			||||||
			printf("proxy found for object %d, opcode %d, but no listeners\n",
 | 
					 | 
				
			||||||
			       id, opcode);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wl_list_for_each(listener, &proxy->listener_list, link)
 | 
						wl_list_for_each(listener, &proxy->listener_list, link)
 | 
				
			||||||
		wl_connection_demarshal(display->connection,
 | 
							wl_connection_demarshal(display->connection,
 | 
				
			||||||
| 
						 | 
					@ -363,8 +359,6 @@ handle_event(struct wl_display *display,
 | 
				
			||||||
					&proxy->base, 
 | 
										&proxy->base, 
 | 
				
			||||||
					&proxy->base.interface->events[opcode]);
 | 
										&proxy->base.interface->events[opcode]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	wl_connection_consume(display->connection, size);
 | 
						wl_connection_consume(display->connection, size);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue