diff --git a/x/1-4-Drawing/drawing.min.cpp b/x/1-4-Drawing/drawing.min.cpp index 255e21a0c72cc4a38564ce1d0688d0715fc573c7..ad86d7efbc21aa69c6acd865f50216306ca7f573 100644 --- a/x/1-4-Drawing/drawing.min.cpp +++ b/x/1-4-Drawing/drawing.min.cpp @@ -33,8 +33,8 @@ int main( int argc, char* argv[] ) { XMapRaised(display, window); XFlush(display); - // give server 10ms to get set up before sending drawing commands - usleep(10 * 1000); + // give server time to setup + sleep(1); // drawing demo with graphics context here ...