浏览代码

fixed slop from getting in screenshots

naelstrof 12 年前
父节点
当前提交
532d2928dd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp 查看文件

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;