浏览代码

Fixed startup in thumbnail mode with floating window

master
Bert Münnich 10 年前
父节点
当前提交
c1e084357c
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. +5
    -3
      main.c

+ 5
- 3
main.c 查看文件

@@ -671,8 +671,6 @@ void run(void)
bool discard, to_set;
XEvent ev, nextev;

set_timeout(redraw, 25, false);

while (true) {
while (mode == MODE_THUMB && tns.loadnext < tns.end &&
XPending(win.env.dpy) == 0)
@@ -881,10 +879,14 @@ int main(int argc, char **argv)
tns.thumbs = NULL;
load_image(fileidx);
}

win_open(&win);
win_set_cursor(&win, CURSOR_WATCH);

if (mode == MODE_THUMB)
tns_render(&tns);

set_timeout(redraw, 25, false);

run();
cleanup();



||||||
x
 
000:0
正在加载...
取消
保存