diff options
| author | Quentin Rameau <[email protected]> | 2018-06-09 21:53:04 +0200 |
|---|---|---|
| committer | Quentin Rameau <[email protected]> | 2018-06-09 21:55:20 +0200 |
| commit | 6f6b3437213390084236f5c59b0f47eea0c5f49f (patch) | |
| tree | e3149491961e943bd353ff2627ded0e9e0c8c546 | |
| parent | Document SIGHUP in manpage (diff) | |
| download | surf-6f6b3437213390084236f5c59b0f47eea0c5f49f.tar.gz surf-6f6b3437213390084236f5c59b0f47eea0c5f49f.tar.bz2 surf-6f6b3437213390084236f5c59b0f47eea0c5f49f.zip | |
Force printing the winid when requested
Do not wait for the libc to decide flushing buffers, force it ourselves. Thanks to koniu for reporting the issue.
| -rw-r--r-- | surf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/surf.c b/surf.c index f01a91c..a5cc5a7 100644 --- a/surf.c +++ b/surf.c @@ -1315,6 +1315,7 @@ showview(WebKitWebView *v, Client *c) if (showxid) { gdk_display_sync(gtk_widget_get_display(c->win)); puts(winid); + fflush(stdout); } if (curconfig[HideBackground].val.i) |