Selaa lähdekoodia

fixed slop from getting in screenshots

naelstrof 10 vuotta sitten
vanhempi
commit
532d2928dd
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp Näytä tiedosto

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