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[] ) { ...@@ -33,8 +33,8 @@ int main( int argc, char* argv[] ) {
XMapRaised(display, window); XMapRaised(display, window);
XFlush(display); XFlush(display);
// give server 10ms to get set up before sending drawing commands // give server time to setup
usleep(10 * 1000); sleep(1);
// drawing demo with graphics context here ... // 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