소스 검색

Fixed startup in thumbnail mode with floating window

master
Bert Münnich 11 년 전
부모
커밋
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();



불러오는 중...
취소
저장