Skip to content
Snippets Groups Projects
Commit 7de300dc authored by Keiko Katsuragawa's avatar Keiko Katsuragawa
Browse files

use sleep instead of usleep

parent 17cff402
No related branches found
No related tags found
No related merge requests found
......@@ -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 ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment