More cleanups

This commit is contained in:
Dave Davenport 2016-03-05 12:06:14 +01:00
parent 9018d5d14f
commit 4c8375189c
2 changed files with 51 additions and 55 deletions

View File

@ -115,10 +115,6 @@ int monitor_get_smallest_size ( void )
return size;
}
if ( xcb_connection_has_error ( xcb->connection ) ) {
fprintf ( stderr, "1.Connection has error\n" );
exit ( EXIT_FAILURE );
}
xcb_xinerama_query_screens_cookie_t cookie_screen;
cookie_screen = xcb_xinerama_query_screens ( xcb->connection );