Skip to content

Commit 71c0ca1

Browse files
committed
flush
1 parent d2f030e commit 71c0ca1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scrot.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ int main(int argc, char *argv[])
151151
}
152152
tm = localtime(&timeStamp.tv_sec);
153153

154-
if (!opt.silent)
154+
if (!opt.silent) {
155155
XBell(disp, 0);
156+
XFlush(disp);
157+
}
156158

157159
if (opt.note)
158160
scrotNoteDraw(image);

0 commit comments

Comments
 (0)