added missing call to xcb_connect()
(cherry picked from commit dc2fb323ee11f081d447605be151024f9e2487f9)
This commit is contained in:
		
							parent
							
								
									9ad4560b3c
								
							
						
					
					
						commit
						83ba1e167c
					
				|  | @ -615,6 +615,7 @@ display_exists_p (int number) | ||||||
| 		return FALSE; | 		return FALSE; | ||||||
|      |      | ||||||
|     sprintf (buf, ":%d", number); |     sprintf (buf, ":%d", number); | ||||||
|  |     conn = xcb_connect(buf, NULL); | ||||||
|     if (xcb_connection_has_error(conn)) return FALSE; |     if (xcb_connection_has_error(conn)) return FALSE; | ||||||
| 	 | 	 | ||||||
|     xcb_disconnect(conn); |     xcb_disconnect(conn); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue