소스 검색

fixed slop from getting in screenshots

naelstrof 11 년 전
부모
커밋
532d2928dd
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp 파일 보기

@@ -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;