Browse Source

fixed slop from getting in screenshots

naelstrof 11 years ago
parent
commit
532d2928dd
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp View File

208
     // Clean up global classes.
208
     // Clean up global classes.
209
     delete xengine;
209
     delete xengine;
210
     delete options;
210
     delete options;
211
+    // Wait to make sure X11 cleans up our window before we end.
212
+    usleep( 10000 );
211
     // If we canceled the selection, return error.
213
     // If we canceled the selection, return error.
212
     if ( state == -1 ) {
214
     if ( state == -1 ) {
213
         return 1;
215
         return 1;