瀏覽代碼

fixed slop from getting in screenshots

naelstrof 10 年之前
父節點
當前提交
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;